From 23031d9b0a564faa9c12cc3260cd009d2bac0dae Mon Sep 17 00:00:00 2001 From: Lei Shi Date: Sun, 3 Dec 2023 14:31:41 +0800 Subject: [PATCH] benchmark: update iterations in benchmark/crypto/hkdf.js MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- benchmark/crypto/hkdf.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/benchmark/crypto/hkdf.js b/benchmark/crypto/hkdf.js index 61ae33cac0a0f6..98aa83594e2278 100644 --- a/benchmark/crypto/hkdf.js +++ b/benchmark/crypto/hkdf.js @@ -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) {