summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--benchmark/compare.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/benchmark/compare.js b/benchmark/compare.js
index de328d60fc..ea431b18cb 100644
--- a/benchmark/compare.js
+++ b/benchmark/compare.js
@@ -40,8 +40,8 @@ if (benchmarks.length === 0) {
// Create queue from the benchmarks list such both node versions are tested
// `runs` amount of times each.
const queue = [];
-for (let iter = 0; iter < runs; iter++) {
- for (const filename of benchmarks) {
+for (const filename of benchmarks) {
+ for (let iter = 0; iter < runs; iter++) {
for (const binary of binaries) {
queue.push({ binary, filename, iter });
}