view benchmark/make.jl @ 1803:34ddb953a986 feature/grids/curvilinear

Review: Possible refactor of function normal?
author Vidar Stiernström <vidar.stiernstrom@gmail.com>
date Wed, 02 Oct 2024 11:04:35 -0700
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)