void () { withCycleConsoleNoFolding(UISettings.getInstance().getConsoleCycleBufferSizeKb(), console -> PlatformTestUtil.startPerformanceTest("console print", 15_000, () -> { console.clear(); for (int i=0; i<20_000_000; i++) { console.print("hello\n", ConsoleViewContentType.NORMAL_OUTPUT); } PlatformTestUtil.dispatchAllInvocationEventsInIdeEventQueue(); console.waitAllRequests(); }).assertTiming()); }