Mercurial > repos > public > sbplib_julia
diff benchmark/make.jl @ 1361:689978b1ef16
Merge tooling/benchmarks
author | Vidar Stiernström <vidar.stiernstrom@it.uu.se> |
---|---|
date | Sun, 21 May 2023 20:48:46 +0200 |
parents | 6ae2ec4cef5a |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/benchmark/make.jl Sun May 21 20:48:46 2023 +0200 @@ -0,0 +1,21 @@ +rev = nothing +baseline = nothing +target = nothing + +if "--rev" ∈ ARGS + i = findlast(==("--rev"), ARGS) + rev = ARGS[i+1] +end + +if "--target" ∈ ARGS + i = findlast(==("--target"), ARGS) + target = ARGS[i+1] +end + +if "--baseline" ∈ ARGS + i = findlast(==("--baseline"), ARGS) + baseline = ARGS[i+1] +end + +include("benchmark_utils.jl") +main(;rev, target, baseline)