add basic CI Benchmarking

This commit is contained in:
Ian
2021-01-24 14:01:04 -05:00
parent 49eba0bf2f
commit 493ab0c6b4
2 changed files with 40 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
using BenchmarkTools
const SUITE = BenchmarkGroup()
# numbered to enforce sequence
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)))