benchmark: update iterations in benchmark/crypto/hkdf.js

Fixes: https://github.com/nodejs/node/issues/50571
PR-URL: https://github.com/nodejs/node/pull/50866
Refs: https://github.com/nodejs/node/issues/50571
Reviewed-By: Vinícius Lourenço Claro Cardoso <contact@viniciusl.com.br>
This commit is contained in:
Lei Shi
2023-12-03 14:31:41 +08:00
committed by GitHub
parent 2e458d9736
commit 23031d9b0a

View File

@@ -14,7 +14,7 @@ const bench = common.createBenchmark(main, {
salt: ['', 'salt'],
info: ['', 'info'],
hash: ['sha256', 'sha512'],
n: [1e3],
n: [1e4],
});
function measureSync(n, size, salt, info, hash, key) {