Comparing commits
You can use judge to compare benchmark results of two versions of the package.
BenchmarkTools.judge — Function.judge(pkg::String,
[target]::Union{String, BenchmarkConfig},
baseline::Union{String, BenchmarkConfig};
kwargs...)Arguments:
pkg- The package to benchmark.target- What do judge, given as a git id or aBenchmarkConfig. If skipped, use the current state of the package repo.baseline- The commit /BenchmarkConfigto comparetargetagainst.
Keyword arguments:
f- Estimator function to use in the judging.judgekwargs::Dict{Symbol, Any}- keyword arguments to pass to thejudgefunction in BenchmarkTools
The remaining keyword arguments are passed to benchmarkpkg
Return value:
Returns a BenchmarkJudgement
judge(target::BenchmarkResults, baseline::BenchmarkResults, f;
judgekwargs = Dict())Judges the two BenchmarkResults in target and baseline using the function f.
Return value
Returns a BenchmarkJudgement