Skip to content

Commit

Permalink
benchmark: change iterations in benchmark/es/string-concatenations.js
Browse files Browse the repository at this point in the history
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: nodejs#50571
  • Loading branch information
Septa2112 committed Nov 7, 2023
1 parent 33704c4 commit 8bb9c3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion benchmark/es/string-concatenations.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
const common = require('../common.js');

const configs = {
n: [1e3],
n: [1e6],
mode: [
'multi-concat',
'multi-join',
Expand Down

0 comments on commit 8bb9c3c

Please sign in to comment.