Skip to content

Commit

Permalink
Fixes for visualisation and some perf output
Browse files Browse the repository at this point in the history
  • Loading branch information
Azzaare committed Jun 5, 2024
1 parent 0ae3434 commit e8caab8
Show file tree
Hide file tree
Showing 27 changed files with 11 additions and 8 deletions.
2 changes: 1 addition & 1 deletion ext/MakieExt/allocs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ function PerfChecker.checkres_to_scatterlines(
versionnums = [x.pkgs[i].version for i in eachindex(x.pkgs)]
f = Figure()
ax = Axis(f[1, 1])
ax.yscale = log2
ax.yscale = Makie.pseudolog10
ax.xticks = (eachindex(versionnums), string.(versionnums))
ax.xlabel = "versions"
ax.ylabel = "bytes"
Expand Down
2 changes: 1 addition & 1 deletion ext/MakieExt/bench.jl
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ function PerfChecker.checkres_to_scatterlines(
end
scatterlines!(xs, ys, label = string(props[i]), color = (colors[i], 0.4))
end
ax.yscale = log2
ax.yscale = Makie.pseudolog10
ax.xticks = (eachindex(versionnums), string.(versionnums))
ax.xlabel = "versions"
ax.ylabel = "ratio"
Expand Down
2 changes: 1 addition & 1 deletion ext/MakieExt/chair.jl
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ function PerfChecker.checkres_to_scatterlines(
end
scatterlines!(xs, ys, label = string(props[i]), color = (colors[i], 0.4))
end
ax.yscale = log2
ax.yscale = Makie.pseudolog10
ax.xticks = (eachindex(versionnums), string.(versionnums))
ax.xlabel = "versions"
ax.ylabel = "ratio"
Expand Down
2 changes: 1 addition & 1 deletion ext/MakieExt/plotutils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ function smart_paths(paths)
end

# Fix the maximum limit in plot by some epsilon for log scale plots
ϵ(x; adjust = 0.1 * log(2)) = x * exp(adjust)
ϵ(x; adjust = 0.1 * log(10)) = x * exp(adjust)
Binary file modified perf/GLM/visuals/bench_boxplots_allocs.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified perf/GLM/visuals/bench_boxplots_gctimes.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified perf/GLM/visuals/bench_boxplots_memory.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified perf/GLM/visuals/bench_boxplots_times.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified perf/GLM/visuals/bench_evolution.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified perf/GLM/visuals/chair_boxplots_allocs.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified perf/GLM/visuals/chair_boxplots_bytes.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified perf/GLM/visuals/chair_boxplots_gctimes.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified perf/GLM/visuals/chair_boxplots_times.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified perf/GLM/visuals/chair_evolution.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified perf/PatternFolds/visuals/allocs_evolution.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified perf/PatternFolds/visuals/bench_boxplots_allocs.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified perf/PatternFolds/visuals/bench_boxplots_gctimes.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified perf/PatternFolds/visuals/bench_boxplots_memory.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified perf/PatternFolds/visuals/bench_boxplots_times.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified perf/PatternFolds/visuals/bench_evolution.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified perf/PatternFolds/visuals/chair_boxplots_allocs.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified perf/PatternFolds/visuals/chair_boxplots_bytes.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified perf/PatternFolds/visuals/chair_boxplots_gctimes.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified perf/PatternFolds/visuals/chair_boxplots_times.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified perf/PatternFolds/visuals/chair_evolution.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 5 additions & 2 deletions src/check.jl
Original file line number Diff line number Diff line change
Expand Up @@ -60,15 +60,18 @@ function check_function(x::Symbol, d::Dict, block1, block2)

for i in 1:len
is_loaded = false
di[:current_spec] = pkgs[i]
di[:current_version] = pkgs[i].version
if i length(pkgs)
di[:current_spec] = pkgs[i]
di[:current_version] = pkgs[i].version
path = joinpath(di[:path], "metadata", "metadata.csv")
fp = flatten_parameters(x, pkgs[i].name, pkgs[i].version, d[:tags])
u = get_uuid() |> Base.UUID
if in_metadata(path, fp, u)
is_loaded = true
end
else
di[:current_spec] = di[:devops]
di[:current_version] = "dev"
end

if !is_loaded
Expand Down
4 changes: 2 additions & 2 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ using Test
include("pattern_folds.jl")
end

rm("test/metadata"; recursive = true, force = true)
rm("test/output"; recursive = true, force = true)
rm("metadata"; recursive = true, force = true)
rm("output"; recursive = true, force = true)
end

0 comments on commit e8caab8

Please sign in to comment.