mirror of
https://github.com/nodejs/node.git
synced 2025-08-15 13:48:44 +02:00
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: https://github.com/nodejs/node/issues/50571 PR-URL: https://github.com/nodejs/node/pull/50698 Reviewed-By: Vinícius Lourenço Claro Cardoso <contact@viniciusl.com.br>
This commit is contained in:
parent
f28839b5f3
commit
f8c27e6176
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@
|
|||
const common = require('../common');
|
||||
|
||||
const bench = common.createBenchmark(main, {
|
||||
n: [1e5],
|
||||
n: [5e6],
|
||||
pos: ['start', 'middle', 'end'],
|
||||
size: [10, 100, 500],
|
||||
}, { flags: ['--expose-internals'] });
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue