Skip to content

Commit bd03a15

Browse files
Lei Shirichardlau
Lei Shi
authored andcommitted
benchmark: update iterations in benchmark/perf_hooks
Fixes: #50571 PR-URL: #50869 Refs: #50571 Reviewed-By: Vinícius Lourenço Claro Cardoso <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent c3b89c3 commit bd03a15

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

benchmark/perf_hooks/performance-observer.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ function randomFn() {
1313
}
1414

1515
const bench = common.createBenchmark(main, {
16-
n: [1e5],
16+
n: [1e6],
1717
pending: [1, 10],
1818
}, {
1919
options: ['--expose-internals'],

benchmark/perf_hooks/resourcetiming.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ function createTimingInfo({
5050
}
5151

5252
const bench = common.createBenchmark(main, {
53-
n: [1e5],
53+
n: [1e6],
5454
observe: ['resource'],
5555
});
5656

benchmark/perf_hooks/timerfied.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ function randomFn() {
1313
}
1414

1515
const bench = common.createBenchmark(main, {
16-
n: [1e5],
16+
n: [1e6],
1717
observe: ['function'],
1818
});
1919

benchmark/perf_hooks/usertiming.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const {
88
} = require('perf_hooks');
99

1010
const bench = common.createBenchmark(main, {
11-
n: [1e5],
11+
n: [1e6],
1212
observe: ['all', 'measure'],
1313
});
1414

0 commit comments

Comments
 (0)