void () { withCycleConsoleNoFolding(100, console -> PlatformTestUtil.startPerformanceTest("console print", 15000, () -> { console.clear(); for (int i=0; i<10_000_000; i++) { console.print("xxx\n", ConsoleViewContentType.NORMAL_OUTPUT); console.print("yyy\n", ConsoleViewContentType.SYSTEM_OUTPUT); PlatformTestUtil.dispatchAllInvocationEventsInIdeEventQueue(); } LightPlatformCodeInsightTestCase.type('\n', console.getEditor(), getProject()); console.waitAllRequests(); }).assertTiming()); }