Mercurial > repos > public > sbplib_julia
diff benchmark/benchmark_utils.jl @ 1881:e1d64f4110bd
Fix typos in benchmark_utils.jl
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Tue, 28 Jan 2025 15:38:15 +0100 |
parents | 471a948cd2b2 |
children | 9d708f3300d5 |
line wrap: on
line diff
--- a/benchmark/benchmark_utils.jl Mon Jan 27 09:23:40 2025 +0100 +++ b/benchmark/benchmark_utils.jl Tue Jan 28 15:38:15 2025 +0100 @@ -10,7 +10,7 @@ const template_path = joinpath(diffinitive_root, "benchmark/result.tmpl") """ - mainmain(;rev=nothing, target=nothing, baseline=nothing , kwargs...) + main(;rev=nothing, target=nothing, baseline=nothing , kwargs...) Calls `run_benchmark(args...; kwargs...)` and writes the results as an HTML file in `benchmark/results`. @@ -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...)