Skip to content

Commit 73b188b

Browse files
Septa2112UlisesGascon
authored andcommitted
benchmark: update iterations in benchmark/util/splice-one.js
Increase the number of iterations from 1e5 to 5e6 to avoid the test performance gap caused by inactive V8 optimization caused by insufficient number of iterations Refs: #50571 PR-URL: #50698 Reviewed-By: Vinícius Lourenço Claro Cardoso <[email protected]>
1 parent 8109ff5 commit 73b188b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

benchmark/util/splice-one.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
const common = require('../common');
44

55
const bench = common.createBenchmark(main, {
6-
n: [1e5],
6+
n: [5e6],
77
pos: ['start', 'middle', 'end'],
88
size: [10, 100, 500],
99
}, { flags: ['--expose-internals'] });

0 commit comments

Comments
 (0)