Skip to content

Commit

Permalink
Minor
Browse files Browse the repository at this point in the history
  • Loading branch information
JordiManyer committed Oct 17, 2024
1 parent a3bf057 commit 3c00c10
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions benchmark/run_benchmarks.jl
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@ config_kwargs = (;
juliacmd = `julia -O3`,
)

if haskey(ENV,"BM_TARGET")
if haskey(ENV,"BM_TARGET") # Provided by CI workflow
target = BenchmarkConfig(config_kwargs..., id = ENV["BM_TARGET"])
else
else # Default to the current commit
target = BenchmarkConfig(config_kwargs...)
end

if haskey(ENV,"BM_BASE")
if haskey(ENV,"BM_BASE") # Provided by CI workflow
base = BenchmarkConfig(config_kwargs..., id = ENV["BM_BASE"])
else
else # Default to master
base = BenchmarkConfig(config_kwargs..., id = "master")
end

Expand Down

0 comments on commit 3c00c10

Please sign in to comment.