Skip to content

Commit 4f38802

Browse files
Simplify specifying benchmark output file (#2814)
[only benchmarks]
1 parent e561e7a commit 4f38802

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

perf/runbenchmarks.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,4 +50,5 @@ results["latency"] = latency_results
5050
results["integration"] = integration_results
5151

5252
# write out the results
53-
BenchmarkTools.save("benchmarkresults.json", median(results))
53+
result_file = length(ARGS) >= 1 ? ARGS[1] : "benchmarkresults.json"
54+
BenchmarkTools.save(result_file, median(results))

0 commit comments

Comments
 (0)