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: #50571
PR-URL: #50585
Reviewed-By: Vinícius Lourenço Claro Cardoso <contact@viniciusl.com.br>
Reviewed-By: Debadree Chatterjee <debadree333@gmail.com>
  • Loading branch information
Septa2112 authored Nov 9, 2023
1 parent 95534ad commit bb2dd0e
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 bb2dd0e

Please sign in to comment.