void () { StringBuilder source = new StringBuilder("class C {\n"); for (int i = 0; i < 5000; i++) { source.append(" int value").append(i).append(";\n"); } source.append("}"); configureFromFileText(getTestName(false) + ".java", source.toString()); executeAction(IdeActions.ACTION_SELECT_ALL); PlatformTestUtil.startPerformanceTest("Uncommenting large file", 2000, CommentByLineTestBase::performAction) .setup(CommentByLineTestBase::performAction) .assertTiming(); }