Skip to content
This repository has been archived by the owner on Sep 17, 2024. It is now read-only.

Commit

Permalink
fix(benchmark): pass option to compare
Browse files Browse the repository at this point in the history
  • Loading branch information
JonasBa committed Oct 17, 2022
1 parent 0a4d9ab commit ce80579
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion benchmarks/format/benchmark.format.js
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ if (process.env.RUN_NAME) {
return cpu_profiler.stopProfiling('Sampled format', threadId);
}, 10);
} else if (process.env.BEFORE && process.env.AFTER) {
compareResults();
compareResults(process.env.BEFORE && process.env.AFTER);
} else {
throw new Error('No run name or before/after specified');
}

0 comments on commit ce80579

Please sign in to comment.