Mercurial > repos > public > sbplib_julia
view benchmark/make.jl @ 1691:5bf4a35a78c5 feature/grids/curvilinear
Factor out functions for the mappings used in tests of MappedGrid
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Fri, 23 Aug 2024 12:50:08 +0200 |
parents | 6ae2ec4cef5a |
children |
line wrap: on
line source
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)