void () { PlatformTestUtil.startPerformanceTest("NBRA cancellation", 500, () -> { WriteAction.run(() -> { for (int i = 0; i < 100_000; i++) { ReadAction.nonBlocking(() -> {}).coalesceBy(this).submit(AppExecutorUtil.getAppExecutorService()).cancel(); } }); }).assertTiming(); }