mirror of
https://github.com/zebrajr/node.git
synced 2025-12-06 12:20:27 +01: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
|
|
@ -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…
Reference in New Issue
Block a user