void () { PlatformTestUtil.startPerformanceTest("300 unrelated methods", 60000, () -> { StringBuilder text = new StringBuilder("import lombok.Getter; import lombok.Setter; @interface Tolerate{} class Foo {"); for (int i = 0; i < 200; i++) { text.append("@Getter @Setter int bar").append(i).append(";"); } for (int i = 0; i < 200; i++) { text.append("@Tolerate public void m").append(i).append("(){int i = getBar").append(i).append("();}"); } for (int i = 0; i < 200; i++) { text.append("@Tolerate public void s").append(i).append("(){setBar").append(i).append("(0);}"); } text.append("}"); myFixture.configureByText("Foo.java", text.toString()); myFixture.checkHighlighting(); }) .assertTiming(); }