Also note that the package does not magically solve all issues with benchmarks. Replacing the @time
in the code above with @benchmark
or @btime
will not give the correct benchmark result. It’ll still include global access time. For these usage, see the doc https://github.com/JuliaCI/BenchmarkTools.jl/blob/master/doc/manual.md#introduction