Mercurial > repos > public > sbplib_julia
changeset 1545:237b980ffb91 bugfix/sbp_operators/stencil_return_type
Fix typo
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Fri, 12 Apr 2024 12:00:43 +0200 |
parents | a064a8bd413f |
children | 6393bd18b1c2 |
files | benchmark/benchmark_utils.jl |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
diff -r a064a8bd413f -r 237b980ffb91 benchmark/benchmark_utils.jl --- a/benchmark/benchmark_utils.jl Fri Apr 12 07:49:19 2024 +0200 +++ b/benchmark/benchmark_utils.jl Fri Apr 12 12:00:43 2024 +0200 @@ -72,7 +72,7 @@ end """ - compare_benchmarks(target, baseline, f=minimum; judgekwargs=Dict()) + compare_benchmarks(target, baseline; f=minimum, judgekwargs=Dict(), kwargs...) Runs the benchmark at revisions `target` and `baseline` and compares them using `PkgBenchmark.judge`. `f` is the function used to compare. `judgekwargs` @@ -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_benchmark(baseline, f=minimum; judgekwargs=Dict(), kwargs...) +function compare_benchmarks(baseline; f=minimum, judgekwargs=Dict(), kwargs...) t = run_benchmark(;kwargs...) b = run_benchmark(baseline; kwargs...)