Skip to content

Fix congested printing of xticks #63

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Apr 15, 2025
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 <[email protected]>"]
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