From 8bb9c3ce77cc1a2ffa1cd9f78ec84440c61ed08f Mon Sep 17 00:00:00 2001 From: Jia Liu Date: Tue, 7 Nov 2023 18:41:44 +0800 Subject: [PATCH] benchmark: change iterations in benchmark/es/string-concatenations.js Increase the number of iterations from `1e3` to `1e6` to avoid the test performance gap caused by inactive V8 optimization caused by too few iterations. Fixes: https://github.com/nodejs/node/issues/50571 --- benchmark/es/string-concatenations.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/benchmark/es/string-concatenations.js b/benchmark/es/string-concatenations.js index 3c0b27e05019d1..4f9d56cc69df84 100644 --- a/benchmark/es/string-concatenations.js +++ b/benchmark/es/string-concatenations.js @@ -3,7 +3,7 @@ const common = require('../common.js'); const configs = { - n: [1e3], + n: [1e6], mode: [ 'multi-concat', 'multi-join',