@NonNls static final String BASE_PATH = "/codeInsight/daemonCodeAnalyzer/lambda/performance";
public void testPolyMethodCallArgumentPassedToVarargs() throws Exception {
- PlatformTestUtil.startPerformanceTest("50 poly method calls passed to Arrays.asList", 3500, this::doTest).assertTiming();
+ PlatformTestUtil.startPerformanceTest("50 poly method calls passed to Arrays.asList", 4000, this::doTest).usesAllCPUCores().assertTiming();
}
public void testDiamondConstructorCallPassedToVarargs() throws Exception {
- PlatformTestUtil.startPerformanceTest("50 diamond constructor calls passed to Arrays.asList", 10000, this::doTest).assertTiming();
+ PlatformTestUtil.startPerformanceTest("50 diamond constructor calls passed to Arrays.asList", 12000, this::doTest).usesAllCPUCores().assertTiming();
}
private void doTest() {
})
.assertTiming();
- PlatformTestUtil.startPerformanceTest("many files deletions", 10000, () -> {
+ PlatformTestUtil.startPerformanceTest("many files deletions", 11000, () -> {
assertEquals(N, events.size());
processEvents(events);
assertEquals(0, temp.getCachedChildren().size());
myVirtualFilePointerManager.create(VfsUtilCore.pathToUrl("/a/b/c/d/" + i), disposable, listener);
events.add(new VFileCreateEvent(this, temp, "xxx" + i, false, true));
}
- PlatformTestUtil.startPerformanceTest("vfp update", 5000, () -> {
+ PlatformTestUtil.startPerformanceTest("vfp update", 6000, () -> {
for (int i=0; i< 100; i++) {
// simulate VFS refresh events since launching the actual refresh is too slow
myVirtualFilePointerManager.before(events);