Skip to content

Commit 4dab3d2

Browse files
committed
Fix bug in benchmark script
1 parent 6d8f712 commit 4dab3d2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/bench.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@ if isempty(ARGS)
1111
export_markdown("./benchmark_logs/last.md", result)
1212
else
1313
name = first(ARGS)
14-
BenchmarkTools.judge(GraphPPL, name; judgekwargs = Dict(:time_tolerance => 0.1, :memory_tolerance => 0.05))
15-
export_markdown("benchmark_vs_$(name)_result.md", result)
14+
result = BenchmarkTools.judge(GraphPPL, name; judgekwargs = Dict(:time_tolerance => 0.1, :memory_tolerance => 0.05))
15+
export_markdown("./benchmark_logs/benchmark_vs_$(name)_result.md", result)
1616
end

0 commit comments

Comments
 (0)