mirror of
https://github.com/zebrajr/node.git
synced 2025-12-06 12:20:27 +01:00
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:
parent
fde5534329
commit
bf4a63e8c8
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user