Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "PerfChecker"
uuid = "6309bf6b-a531-4b08-891e-8ee981e5c424"
authors = ["Azzaare <jf@baffier.fr>"]
version = "0.2.3"
version = "0.2.4"

[deps]
CSV = "336ed68f-0bac-5ca0-87d4-7b16caf5d00b"
Expand Down
1 change: 1 addition & 0 deletions ext/MakieExt/allocs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ function PerfChecker.checkres_to_scatterlines(
diff += step
end
ax.title = x.pkgs[1].name
ax.xticklabelrotation = 45.0
Legend(f[1, 2], ax)
return f
end
2 changes: 2 additions & 0 deletions ext/MakieExt/bench.jl
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ function PerfChecker.checkres_to_scatterlines(
ax.xlabel = "versions"
ax.ylabel = "ratio"
ax.title = "Evolution for $(x.pkgs[1].name) (via BenchmarkTools.jl)"
ax.xticklabelrotation = 45.0
f[1, 2] = Legend(f, ax)
return f
end
Expand All @@ -67,6 +68,7 @@ function PerfChecker.checkres_to_boxplots(
ax.ylabel = string(kwarg)
boxplot!(datax, datay, label = string(kwarg))
ax.title = x.pkgs[1].name
ax.xticklabelrotation = 45.0
f[1, 2] = Legend(f, ax)
return f
end
6 changes: 6 additions & 0 deletions ext/MakieExt/chair.jl
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ function PerfChecker.checkres_to_scatterlines(
versionnums = [x.pkgs[i].version for i in eachindex(x.pkgs)]

f = Figure()
if iszero(data)
return f
end

ax = f[1, 1] = Axis(f)
colors = make_colors(length(props))
max = 2
Expand All @@ -43,6 +47,7 @@ function PerfChecker.checkres_to_scatterlines(
ax.xlabel = "versions"
ax.ylabel = "ratio"
ax.title = "Evolution for $(x.pkgs[1].name) (via Chairmarks.jl)"
ax.xticklabelrotation = 45.0
f[1, 2] = Legend(f, ax)
return f
end
Expand All @@ -68,6 +73,7 @@ function PerfChecker.checkres_to_boxplots(
ax.ylabel = string(kwarg)
boxplot!(datax, datay, label = string(kwarg))
ax.title = x.pkgs[1].name
ax.xticklabelrotation = 45.0
f[1, 2] = Legend(f, ax)
return f
end
Loading