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:
Lei Shi authored and RafaelGSS committed 2023-12-15 15:26:23 -03:00
1 parent cd891b37f6
commit 1bbdbdfbeb
4 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -13,7 +13,7 @@ function randomFn() {
}
const bench = common.createBenchmark(main, {
n: [1e5],
n: [1e6],
pending: [1, 10],
}, {
options: ['--expose-internals'],
+1 -1
View File
@@ -50,7 +50,7 @@ function createTimingInfo({
}
const bench = common.createBenchmark(main, {
n: [1e5],
n: [1e6],
observe: ['resource'],
});
+1 -1
View File
@@ -13,7 +13,7 @@ function randomFn() {
}
const bench = common.createBenchmark(main, {
n: [1e5],
n: [1e6],
observe: ['function'],
});
+1 -1
View File
@@ -8,7 +8,7 @@ const {
} = require('perf_hooks');
const bench = common.createBenchmark(main, {
n: [1e5],
n: [1e6],
observe: ['all', 'measure'],
});