mirror of
https://github.com/nodejs/node.git
synced 2024-11-21 10:59:27 +00:00
benchmark: update iterations of benchmark/domain/domain-fn-args.js
Fixes: https://github.com/nodejs/node/issues/50571 PR-URL: https://github.com/nodejs/node/pull/51408 Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
This commit is contained in:
parent
b34512e38e
commit
fde5534329
@ -4,7 +4,7 @@ const domain = require('domain');
|
|||||||
|
|
||||||
const bench = common.createBenchmark(main, {
|
const bench = common.createBenchmark(main, {
|
||||||
args: [0, 1, 2, 3],
|
args: [0, 1, 2, 3],
|
||||||
n: [10],
|
n: [1e4],
|
||||||
});
|
});
|
||||||
|
|
||||||
const bdomain = domain.create();
|
const bdomain = domain.create();
|
||||||
|
Loading…
Reference in New Issue
Block a user