This package allows folks to use benchmarks defined by Chairmarks.jl with AirspeedVelocity.jl even though AirspeedVelocity expects benchmarks defined by BenchmarkTools.jl.
You might want to use this package to gain the performance of Chairmarks.jl
while still
using the features of AirspeedVelocity.jl
.
Put this code in benchmark/benchmarks.jl
and commit it to your default branch
using ChairmarksForAirspeedVelocity
const SUITE = BenchmarkGroup()
SUITE["main"]["random_sleep"] = @benchmarkable rand sleep evals = 1 samples = 2
Install AirspeedVelocity.jl
with Pkg.add("AirspeedVelocity"); Pkg.build("AirspeedVelocity")
Run ~/julia/bin/benchpkg --add https://github.com/LilithHafner/ChairmarksForAirspeedVelocity.jl --rev dirty,main
(or add ~/julia/bin
to your PATH
and run benchpkg
)
@benchmarkable ...
behaves like () -> @be ...
. See the
Chairmarks.jl documentation
for more information on defining benchmarks and the
AirspeedVelocity documentation
for more information on using AirspeedVelocity.jl
to analyze benchmarks.