benchmark: update iterations of benchmark/async_hooks/async-local-

storage-getstore-nested-resources.js

Fixes: https://github.com/nodejs/node/issues/50571
PR-URL: https://github.com/nodejs/node/pull/51420
Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
This commit is contained in:
Lei Shi 2024-03-04 18:05:37 +08:00 committed by GitHub
parent fde5534329
commit bf4a63e8c8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -16,7 +16,7 @@ const { AsyncLocalStorage, AsyncResource } = require('async_hooks');
*/
const bench = common.createBenchmark(main, {
resourceCount: [10, 100, 1000],
n: [1e4],
n: [5e5],
});
function runBenchmark(store, n) {