Skip to content

Commit

Permalink
remove @inline for compat. Costs about 1ms which is 3%
Browse files Browse the repository at this point in the history
  • Loading branch information
LilithHafner committed Nov 24, 2024
1 parent 2e064c1 commit 1341e7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/benchmarking.jl
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ function _benchmark_2(args1, setup, teardown, gc::Bool, evals::Int, warmup::Bool
rp = ntuple(N) do i
old_gc = gc || GC.enable(false)
sample, ti, args3 = try
@inline _benchmark_3(fs[p[i]], args2, evals, warmup)
_benchmark_3(fs[p[i]], args2, evals, warmup)
finally
gc || GC.enable(old_gc)
end
Expand Down

0 comments on commit 1341e7e

Please sign in to comment.