File tree Expand file tree Collapse file tree 4 files changed +10
-1
lines changed
Expand file tree Collapse file tree 4 files changed +10
-1
lines changed Original file line number Diff line number Diff line change 11name = " PerfChecker"
22uuid = " 6309bf6b-a531-4b08-891e-8ee981e5c424"
33authors = [
" Azzaare <[email protected] >" ]
4- version = " 0.2.3 "
4+ version = " 0.2.4 "
55
66[deps ]
77CSV = " 336ed68f-0bac-5ca0-87d4-7b16caf5d00b"
Original file line number Diff line number Diff line change @@ -81,6 +81,7 @@ function PerfChecker.checkres_to_scatterlines(
8181 diff += step
8282 end
8383 ax. title = x. pkgs[1 ]. name
84+ ax. xticklabelrotation = 45.0
8485 Legend (f[1 , 2 ], ax)
8586 return f
8687end
Original file line number Diff line number Diff line change @@ -43,6 +43,7 @@ function PerfChecker.checkres_to_scatterlines(
4343 ax. xlabel = " versions"
4444 ax. ylabel = " ratio"
4545 ax. title = " Evolution for $(x. pkgs[1 ]. name) (via BenchmarkTools.jl)"
46+ ax. xticklabelrotation = 45.0
4647 f[1 , 2 ] = Legend (f, ax)
4748 return f
4849end
@@ -67,6 +68,7 @@ function PerfChecker.checkres_to_boxplots(
6768 ax. ylabel = string (kwarg)
6869 boxplot! (datax, datay, label = string (kwarg))
6970 ax. title = x. pkgs[1 ]. name
71+ ax. xticklabelrotation = 45.0
7072 f[1 , 2 ] = Legend (f, ax)
7173 return f
7274end
Original file line number Diff line number Diff line change @@ -18,6 +18,10 @@ function PerfChecker.checkres_to_scatterlines(
1818 versionnums = [x. pkgs[i]. version for i in eachindex (x. pkgs)]
1919
2020 f = Figure ()
21+ if iszero (data)
22+ return f
23+ end
24+
2125 ax = f[1 , 1 ] = Axis (f)
2226 colors = make_colors (length (props))
2327 max = 2
@@ -43,6 +47,7 @@ function PerfChecker.checkres_to_scatterlines(
4347 ax. xlabel = " versions"
4448 ax. ylabel = " ratio"
4549 ax. title = " Evolution for $(x. pkgs[1 ]. name) (via Chairmarks.jl)"
50+ ax. xticklabelrotation = 45.0
4651 f[1 , 2 ] = Legend (f, ax)
4752 return f
4853end
@@ -68,6 +73,7 @@ function PerfChecker.checkres_to_boxplots(
6873 ax. ylabel = string (kwarg)
6974 boxplot! (datax, datay, label = string (kwarg))
7075 ax. title = x. pkgs[1 ]. name
76+ ax. xticklabelrotation = 45.0
7177 f[1 , 2 ] = Legend (f, ax)
7278 return f
7379end
You can’t perform that action at this time.
0 commit comments