diff --git a/resources/interactive.mjs b/resources/interactive.mjs index b1153d63a..bc970defd 100644 --- a/resources/interactive.mjs +++ b/resources/interactive.mjs @@ -229,7 +229,7 @@ function startTest() if (searchParams.has('suite')) disableAllSuitesExcept(searchParams.get('suite')); - const iterationCount = searchParams.get('iterationCount') || 1; + const iterationCount = +searchParams.get('iterationCount') || 1; const interactiveRunner = new window.BenchmarkRunner(Suites, iterationCount); if (!(interactiveRunner instanceof InteractiveBenchmarkRunner)) {