diff --git a/packages/core/test/render3/perf/micro_bench.ts b/packages/core/test/render3/perf/micro_bench.ts index f3c7940079..001add0785 100644 --- a/packages/core/test/render3/perf/micro_bench.ts +++ b/packages/core/test/render3/perf/micro_bench.ts @@ -8,10 +8,10 @@ const performance = require('perf_hooks').performance; // Higher number here makes it more likely that we are more sure of the result. -const MIN_SAMPLE_COUNT_NO_IMPROVEMENT = 100; +const MIN_SAMPLE_COUNT_NO_IMPROVEMENT = 500; // A smaller number here means that we are coming too close on timer resultion, but it also means // that it is less likely that we will be bothered by GC or preemptive multi tasking. -const MIN_SAMPLE_DURATION = 10; +const MIN_SAMPLE_DURATION = 3; const UNITS = ['ms', 'us', 'ns', 'ps']; export interface Benchmark {