mirror of
https://github.com/nodejs/node.git
synced 2025-08-15 13:48:44 +02:00
benchmark: update iterations in benchmark/perf_hooks
Fixes: https://github.com/nodejs/node/issues/50571 PR-URL: https://github.com/nodejs/node/pull/50869 Refs: https://github.com/nodejs/node/issues/50571 Reviewed-By: Vinícius Lourenço Claro Cardoso <contact@viniciusl.com.br> Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
parent
1045f287b8
commit
3b758b3287
4 changed files with 4 additions and 4 deletions
|
@ -13,7 +13,7 @@ function randomFn() {
|
|||
}
|
||||
|
||||
const bench = common.createBenchmark(main, {
|
||||
n: [1e5],
|
||||
n: [1e6],
|
||||
pending: [1, 10],
|
||||
}, {
|
||||
options: ['--expose-internals'],
|
||||
|
|
|
@ -50,7 +50,7 @@ function createTimingInfo({
|
|||
}
|
||||
|
||||
const bench = common.createBenchmark(main, {
|
||||
n: [1e5],
|
||||
n: [1e6],
|
||||
observe: ['resource'],
|
||||
});
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@ function randomFn() {
|
|||
}
|
||||
|
||||
const bench = common.createBenchmark(main, {
|
||||
n: [1e5],
|
||||
n: [1e6],
|
||||
observe: ['function'],
|
||||
});
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@ const {
|
|||
} = require('perf_hooks');
|
||||
|
||||
const bench = common.createBenchmark(main, {
|
||||
n: [1e5],
|
||||
n: [1e6],
|
||||
observe: ['all', 'measure'],
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue