0
0
mirror of https://github.com/nodejs/node.git synced 2024-11-24 03:07:54 +01: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:
Lei Shi 2024-03-04 18:05:28 +08:00 committed by GitHub
parent b34512e38e
commit fde5534329
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -4,7 +4,7 @@ const domain = require('domain');
const bench = common.createBenchmark(main, {
args: [0, 1, 2, 3],
n: [10],
n: [1e4],
});
const bdomain = domain.create();