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 and UlisesGascon committed Dec 11, 2023
1 parent 0a5e9c1 commit 4cf10a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion benchmark/es/string-concatenations.js
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 4cf10a1

Please sign in to comment.