From b67f988f672cf6d219e93f373216984760ea40f0 Mon Sep 17 00:00:00 2001 From: Tortar <68152031+Tortar@users.noreply.github.com> Date: Sat, 27 Apr 2024 23:07:16 +0200 Subject: [PATCH] Improve comparison --- test/benchmark/benchmark_comparison.jl | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/test/benchmark/benchmark_comparison.jl b/test/benchmark/benchmark_comparison.jl index 76db6c0..b958a23 100644 --- a/test/benchmark/benchmark_comparison.jl +++ b/test/benchmark/benchmark_comparison.jl @@ -45,7 +45,12 @@ end f = Figure(fontsize = 9,); axs = [Axis(f[i, j], yscale = log10, xscale = log10) for i in 1:4 for j in 1:2]; -labels = ("stream-based", "collection-based", "collection-based without setup") +labels = ( + "stream-based\n(StreamSampling.itsample)", + "collection-based with setup\n(StatsBase.sample)", + "collection-based\n(StatsBase.sample)" +) + markers = (:circle, :rect, :utriangle) a, b = 0, 0