From 377ce6205cafe75f3b18a66068fec370f6f82c24 Mon Sep 17 00:00:00 2001 From: Chetan Vardhan <51269425+VarLad@users.noreply.github.com> Date: Fri, 11 Apr 2025 06:48:24 +0000 Subject: [PATCH 1/4] tilt the xticks to appear more readable --- ext/MakieExt/allocs.jl | 1 + ext/MakieExt/bench.jl | 1 + ext/MakieExt/chair.jl | 2 ++ 3 files changed, 4 insertions(+) diff --git a/ext/MakieExt/allocs.jl b/ext/MakieExt/allocs.jl index 9ab4490..19f9783 100644 --- a/ext/MakieExt/allocs.jl +++ b/ext/MakieExt/allocs.jl @@ -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 diff --git a/ext/MakieExt/bench.jl b/ext/MakieExt/bench.jl index e9e9e02..e40f4b1 100644 --- a/ext/MakieExt/bench.jl +++ b/ext/MakieExt/bench.jl @@ -67,6 +67,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 diff --git a/ext/MakieExt/chair.jl b/ext/MakieExt/chair.jl index 9ac18f6..ccb0596 100644 --- a/ext/MakieExt/chair.jl +++ b/ext/MakieExt/chair.jl @@ -43,6 +43,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 @@ -68,6 +69,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 From 6c1867eef3232000c2397daa2fb3b3b6f55f072e Mon Sep 17 00:00:00 2001 From: Chetan Vardhan <51269425+VarLad@users.noreply.github.com> Date: Fri, 11 Apr 2025 15:57:01 +0900 Subject: [PATCH 2/4] tilted xticks for BenchmarkTools scatterlines --- ext/MakieExt/bench.jl | 1 + 1 file changed, 1 insertion(+) diff --git a/ext/MakieExt/bench.jl b/ext/MakieExt/bench.jl index e40f4b1..4dc1f31 100644 --- a/ext/MakieExt/bench.jl +++ b/ext/MakieExt/bench.jl @@ -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 From 1d62dfe26b50d7a3393fe323ba8ed152fc5f628d Mon Sep 17 00:00:00 2001 From: Azzaare Date: Tue, 15 Apr 2025 14:44:25 +0900 Subject: [PATCH 3/4] bandage fix for Nan error in charimarkext --- ext/MakieExt/chair.jl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ext/MakieExt/chair.jl b/ext/MakieExt/chair.jl index ccb0596..252ecc8 100644 --- a/ext/MakieExt/chair.jl +++ b/ext/MakieExt/chair.jl @@ -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 From a0f79fc3963199aa38e4c6b472b6da291b72af4e Mon Sep 17 00:00:00 2001 From: Azzaare Date: Tue, 15 Apr 2025 14:45:52 +0900 Subject: [PATCH 4/4] New release --- Project.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Project.toml b/Project.toml index 9c4d928..8d91a3f 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "PerfChecker" uuid = "6309bf6b-a531-4b08-891e-8ee981e5c424" authors = ["Azzaare "] -version = "0.2.3" +version = "0.2.4" [deps] CSV = "336ed68f-0bac-5ca0-87d4-7b16caf5d00b"