void () { PlatformTestUtil.startPerformanceTest(getTestName(false), 15_000, () -> { int size = 2500; String source = StreamEx.constant(".toString()", size).joining("", "\"\"", ""); PsiExpression expression = JavaPsiFacade.getElementFactory(getProject()).createExpressionFromText(source, null); ControlFlow flow = ControlFlowFactory.getInstance(getProject()).getControlFlow(expression, new LocalsControlFlowPolicy(expression), false); assertEquals(size, flow.getSize()); }).attempts(2).assertTiming(); }