Skip to content

Commit 4a20912

Browse files
Septa2112RafaelGSS
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 e4e0add commit 4a20912

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎benchmark/util/splice-one.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
constcommon=require('../common');
44

55
constbench=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)