void () { int n = 2000; int nLines = 20; String text = "class X {\n" + createCodeBlocks(n, nLines) + "\n}"; PlatformTestUtil.startPerformanceTest(getTestName(false), 7500, this::doHighlighting) .setup(() -> configureFromFileText("X.java", text)) .usesAllCPUCores() .assertTiming(); }