From e812c9198490e4f3c7c6b5aeda901e0bd7066a3f Mon Sep 17 00:00:00 2001 From: Lei Shi Date: Thu, 23 Nov 2023 12:25:20 +0800 Subject: [PATCH] benchmark: increase iteration number to appropriate one Increase the 500 iteration to 50000 to reflect the real ciphers perf. The single iteration n=1 can not make the score reasonable. Fixes https://github.com/nodejs/node/issues/50571 --- benchmark/crypto/get-ciphers.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/benchmark/crypto/get-ciphers.js b/benchmark/crypto/get-ciphers.js index 0ace9b49820db8..e3cd955a983dd2 100644 --- a/benchmark/crypto/get-ciphers.js +++ b/benchmark/crypto/get-ciphers.js @@ -3,7 +3,7 @@ const common = require('../common.js'); const bench = common.createBenchmark(main, { - n: [1, 5000], + n: [1, 500000], v: ['crypto', 'tls'], });