diff --git a/benchmark/benchmarks.jl b/benchmark/benchmarks.jl index 1f8f9b61..4a478286 100644 --- a/benchmark/benchmarks.jl +++ b/benchmark/benchmarks.jl @@ -4,8 +4,8 @@ const SUITE = BenchmarkGroup() julia_cmd = get(ENV, "TESTCMD", Base.JLOptions().julia_bin) # numbered to enforce sequence -SUITE["0_load_plot_display"] = @benchmarkable run(`$(julia_cmd) -e "using Plots; display(plot(1:0.1:10, sin.(1:0.1:10))))"`) +SUITE["1_load_plot_display"] = @benchmarkable run(`sh -c $("$julia_cmd --startup-file=no -e 'using Plots; display(plot(1:0.1:10, sin.(1:0.1:10))))'")`) -SUITE["1_load"] = @benchmarkable @eval(using Plots) -SUITE["2_plot"] = @benchmarkable p = plot(1:0.1:10, sin.(1:0.1:10)) -SUITE["3_display"] = @benchmarkable display(p) setup=(p = plot(1:0.1:10, sin.(1:0.1:10))) +SUITE["2_load"] = @benchmarkable @eval(using Plots) +SUITE["3_plot"] = @benchmarkable p = plot(1:0.1:10, sin.(1:0.1:10)) +SUITE["4_display"] = @benchmarkable display(p) setup=(p = plot(1:0.1:10, sin.(1:0.1:10)))