Skip to content

Commit 211b1fd

Browse files
committed
Modify benchmarks to keep colors more consistent across plots.
1 parent 8c37cae commit 211b1fd

21 files changed

+139
-139
lines changed

benchmark/benchmarkflops.jl

Lines changed: 109 additions & 110 deletions
Large diffs are not rendered by default.

benchmark/driver.jl

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -68,16 +68,16 @@ save(joinpath(PICTURES, "bench_Atmulvb_v$v.$filetype"), plot(Atmulvb_bench));
6868

6969

7070

71-
plot(gemm_bench)
72-
plot(AtmulB_bench)
73-
plot(dot_bench)
74-
plot(selfdot_bench)
75-
plot(gemv_bench)
76-
plot(dot3_bench)
77-
plot(sse_bench)
78-
plot(vexp_bench)
79-
plot(aplusBc_bench)
80-
plot(AplusAt_bench)
71+
# plot(gemm_bench)
72+
# plot(AtmulB_bench)
73+
# plot(dot_bench)
74+
# plot(selfdot_bench)
75+
# plot(gemv_bench)
76+
# plot(dot3_bench)
77+
# plot(sse_bench)
78+
# plot(vexp_bench)
79+
# plot(aplusBc_bench)
80+
# plot(AplusAt_bench)
8181

8282

8383

benchmark/plotbenchmarks.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ function plot(br::BenchmarkResult)
2222
sizes[j + i*ntests] = si
2323
end
2424
end
25-
tests = vcat((@view(br.tests[2:end]) for _ eachindex(brsizes))...)
25+
names = ["$(i > 9 ? string(i) : "0$i"). $test" for (i,test) enumerate(@view(br.tests[2:end]))]
26+
tests = reduce(vcat, (names for _ eachindex(brsizes)))
2627
t = table((GFLOPS = res, Size = sizes, Method = tests))
2728
t |> @vlplot(
2829
:line,

docs/src/assets/bench_AmulB_v1.svg

Lines changed: 1 addition & 1 deletion
Loading

docs/src/assets/bench_AmulBt_v1.svg

Lines changed: 1 addition & 1 deletion
Loading

docs/src/assets/bench_Amulvb_v1.svg

Lines changed: 1 addition & 1 deletion
Loading

docs/src/assets/bench_AplusAt_v1.svg

Lines changed: 1 addition & 1 deletion
Loading

docs/src/assets/bench_AtmulB_v1.svg

Lines changed: 1 addition & 1 deletion
Loading

docs/src/assets/bench_AtmulBt_v1.svg

Lines changed: 1 addition & 1 deletion
Loading

docs/src/assets/bench_Atmulvb_v1.svg

Lines changed: 1 addition & 1 deletion
Loading

0 commit comments

Comments
 (0)