From ce8057975d44f9664f822414c098f7efba75aaf2 Mon Sep 17 00:00:00 2001 From: JonasBa Date: Mon, 17 Oct 2022 11:35:34 -0400 Subject: [PATCH] fix(benchmark): pass option to compare --- benchmarks/format/benchmark.format.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/benchmarks/format/benchmark.format.js b/benchmarks/format/benchmark.format.js index bf5ca52c..b6dfa4a1 100644 --- a/benchmarks/format/benchmark.format.js +++ b/benchmarks/format/benchmark.format.js @@ -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'); }