Mercurial > repos > public > sbplib_julia
changeset 1896:9d708f3300d5
Fix bug in benchmark_utils.jl
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Fri, 31 Jan 2025 15:52:49 +0100 |
parents | ecec13fec21c |
children | 6db6257891ee 418566cdd689 |
files | benchmark/benchmark_utils.jl |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/benchmark/benchmark_utils.jl Fri Jan 31 10:56:16 2025 +0100 +++ b/benchmark/benchmark_utils.jl Fri Jan 31 15:52:49 2025 +0100 @@ -82,7 +82,7 @@ Returns a `PkgBenchmark.BenchmarkJudgement` """ -function compare_benchmarks(target, baseline, f=minimum; judgekwargs=Dict(), kwargs...) +function compare_benchmarks(target, baseline; f=minimum, judgekwargs=Dict(), kwargs...) t = run_benchmark(target; kwargs...) b = run_benchmark(baseline; kwargs...) @@ -97,7 +97,7 @@ Accepts the same arguments as the two revision version. """ -function compare_benchmarks(baseline, f=minimum; judgekwargs=Dict(), kwargs...) +function compare_benchmarks(baseline; f=minimum, judgekwargs=Dict(), kwargs...) t = run_benchmark(;kwargs...) b = run_benchmark(baseline; kwargs...)