void (@NotNull String text, int expectedMs, ThrowableRunnable<Throwable> runnable) { PsiManager psiManager = myFixture.getPsiManager(); PlatformTestUtil.startPerformanceTest(text, expectedMs, runnable) .setup(() -> { psiManager.dropPsiCaches(); psiManager.dropResolveCaches(); }) .assertTiming(); }