From 5e4ad5bf00bb5c526f69d63746ba48a29f541fe6 Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Sun, 2 Jul 2023 10:28:39 -0700 Subject: [PATCH] new svg --- assets/benchmarks.svg | 190 ++++++++++++++++++++++++++--------------- benchmark/benchmark.py | 2 +- 2 files changed, 120 insertions(+), 72 deletions(-) diff --git a/assets/benchmarks.svg b/assets/benchmarks.svg index 8f88726ee..73ff19e00 100644 --- a/assets/benchmarks.svg +++ b/assets/benchmarks.svg @@ -6,7 +6,7 @@ - 2023-07-02T10:26:03.603777 + 2023-07-02T10:28:26.610407 image/svg+xml @@ -41,12 +41,12 @@ z - - + @@ -363,7 +363,7 @@ z - + @@ -428,7 +428,7 @@ z - + @@ -482,7 +482,7 @@ z - + @@ -525,7 +525,7 @@ z - + @@ -550,16 +550,16 @@ z +" clip-path="url(#p6bb381003d)" style="fill: none; stroke: #b0b0b0; stroke-width: 0.2; stroke-linecap: square"/> - - + @@ -573,11 +573,11 @@ L -3.5 0 +" clip-path="url(#p6bb381003d)" style="fill: none; stroke: #b0b0b0; stroke-width: 0.2; stroke-linecap: square"/> - + @@ -619,11 +619,11 @@ z +" clip-path="url(#p6bb381003d)" style="fill: none; stroke: #b0b0b0; stroke-width: 0.2; stroke-linecap: square"/> - + @@ -638,11 +638,11 @@ L 421.2 160.30125 +" clip-path="url(#p6bb381003d)" style="fill: none; stroke: #b0b0b0; stroke-width: 0.2; stroke-linecap: square"/> - + @@ -657,11 +657,11 @@ L 421.2 115.431875 +" clip-path="url(#p6bb381003d)" style="fill: none; stroke: #b0b0b0; stroke-width: 0.2; stroke-linecap: square"/> - + @@ -717,11 +717,11 @@ z +" clip-path="url(#p6bb381003d)" style="fill: none; stroke: #b0b0b0; stroke-width: 0.2; stroke-linecap: square"/> - + @@ -1072,7 +1072,7 @@ L 88.166349 250.04 L 88.166349 182.567256 L 75.091364 182.567256 z -" clip-path="url(#p1524463ec4)" style="fill: #b3e6a8; stroke: #ffffff; stroke-width: 1.5; stroke-linejoin: miter"/> +" clip-path="url(#p6bb381003d)" style="fill: #b3e6a8; stroke: #ffffff; stroke-width: 1.5; stroke-linejoin: miter"/> +" clip-path="url(#p6bb381003d)" style="fill: #b3e6a8; stroke: #ffffff; stroke-width: 1.5; stroke-linejoin: miter"/> +" clip-path="url(#p6bb381003d)" style="fill: #b3e6a8; stroke: #ffffff; stroke-width: 1.5; stroke-linejoin: miter"/> +" clip-path="url(#p6bb381003d)" style="fill: #b3e6a8; stroke: #ffffff; stroke-width: 1.5; stroke-linejoin: miter"/> +" clip-path="url(#p6bb381003d)" style="fill: #b3e6a8; stroke: #ffffff; stroke-width: 1.5; stroke-linejoin: miter"/> +" clip-path="url(#p6bb381003d)" style="fill: url(#h863cbcb365); stroke: #ffffff; stroke-width: 1.5; stroke-linejoin: miter"/> +" clip-path="url(#p6bb381003d)" style="fill: url(#h863cbcb365); stroke: #ffffff; stroke-width: 1.5; stroke-linejoin: miter"/> +" clip-path="url(#p6bb381003d)" style="fill: url(#h863cbcb365); stroke: #ffffff; stroke-width: 1.5; stroke-linejoin: miter"/> +" clip-path="url(#p6bb381003d)" style="fill: url(#h863cbcb365); stroke: #ffffff; stroke-width: 1.5; stroke-linejoin: miter"/> +" clip-path="url(#p6bb381003d)" style="fill: url(#h863cbcb365); stroke: #ffffff; stroke-width: 1.5; stroke-linejoin: miter"/> +" clip-path="url(#p6bb381003d)" style="fill: #b3d1e6; stroke: #ffffff; stroke-width: 1.5; stroke-linejoin: miter"/> +" clip-path="url(#p6bb381003d)" style="fill: #b3d1e6; stroke: #ffffff; stroke-width: 1.5; stroke-linejoin: miter"/> +" clip-path="url(#p6bb381003d)" style="fill: #b3d1e6; stroke: #ffffff; stroke-width: 1.5; stroke-linejoin: miter"/> +" clip-path="url(#p6bb381003d)" style="fill: #b3d1e6; stroke: #ffffff; stroke-width: 1.5; stroke-linejoin: miter"/> +" clip-path="url(#p6bb381003d)" style="fill: #b3d1e6; stroke: #ffffff; stroke-width: 1.5; stroke-linejoin: miter"/> +" clip-path="url(#p6bb381003d)" style="fill: url(#hba9264aac1); stroke: #ffffff; stroke-width: 1.5; stroke-linejoin: miter"/> +" clip-path="url(#p6bb381003d)" style="fill: url(#hba9264aac1); stroke: #ffffff; stroke-width: 1.5; stroke-linejoin: miter"/> +" clip-path="url(#p6bb381003d)" style="fill: url(#hba9264aac1); stroke: #ffffff; stroke-width: 1.5; stroke-linejoin: miter"/> +" clip-path="url(#p6bb381003d)" style="fill: url(#hba9264aac1); stroke: #ffffff; stroke-width: 1.5; stroke-linejoin: miter"/> +" clip-path="url(#p6bb381003d)" style="fill: url(#hba9264aac1); stroke: #ffffff; stroke-width: 1.5; stroke-linejoin: miter"/> +" clip-path="url(#p6bb381003d)" style="fill: #b3e6a8; stroke: #ffffff; stroke-width: 1.5; stroke-linejoin: miter"/> +" clip-path="url(#p6bb381003d)" style="fill: #b3e6a8; stroke: #ffffff; stroke-width: 1.5; stroke-linejoin: miter"/> +" clip-path="url(#p6bb381003d)" style="fill: #b3e6a8; stroke: #ffffff; stroke-width: 1.5; stroke-linejoin: miter"/> +" clip-path="url(#p6bb381003d)" style="fill: #b3e6a8; stroke: #ffffff; stroke-width: 1.5; stroke-linejoin: miter"/> +" clip-path="url(#p6bb381003d)" style="fill: #b3e6a8; stroke: #ffffff; stroke-width: 1.5; stroke-linejoin: miter"/> +" clip-path="url(#p6bb381003d)" style="fill: url(#h863cbcb365); stroke: #ffffff; stroke-width: 1.5; stroke-linejoin: miter"/> +" clip-path="url(#p6bb381003d)" style="fill: url(#h863cbcb365); stroke: #ffffff; stroke-width: 1.5; stroke-linejoin: miter"/> +" clip-path="url(#p6bb381003d)" style="fill: url(#h863cbcb365); stroke: #ffffff; stroke-width: 1.5; stroke-linejoin: miter"/> +" clip-path="url(#p6bb381003d)" style="fill: url(#h863cbcb365); stroke: #ffffff; stroke-width: 1.5; stroke-linejoin: miter"/> +" clip-path="url(#p6bb381003d)" style="fill: url(#h863cbcb365); stroke: #ffffff; stroke-width: 1.5; stroke-linejoin: miter"/> +" clip-path="url(#p6bb381003d)" style="fill: #b3d1e6; stroke: #ffffff; stroke-width: 1.5; stroke-linejoin: miter"/> +" clip-path="url(#p6bb381003d)" style="fill: #b3d1e6; stroke: #ffffff; stroke-width: 1.5; stroke-linejoin: miter"/> +" clip-path="url(#p6bb381003d)" style="fill: #b3d1e6; stroke: #ffffff; stroke-width: 1.5; stroke-linejoin: miter"/> +" clip-path="url(#p6bb381003d)" style="fill: #b3d1e6; stroke: #ffffff; stroke-width: 1.5; stroke-linejoin: miter"/> +" clip-path="url(#p6bb381003d)" style="fill: #b3d1e6; stroke: #ffffff; stroke-width: 1.5; stroke-linejoin: miter"/> +" clip-path="url(#p6bb381003d)" style="fill: url(#hba9264aac1); stroke: #ffffff; stroke-width: 1.5; stroke-linejoin: miter"/> +" clip-path="url(#p6bb381003d)" style="fill: url(#hba9264aac1); stroke: #ffffff; stroke-width: 1.5; stroke-linejoin: miter"/> +" clip-path="url(#p6bb381003d)" style="fill: url(#hba9264aac1); stroke: #ffffff; stroke-width: 1.5; stroke-linejoin: miter"/> +" clip-path="url(#p6bb381003d)" style="fill: url(#hba9264aac1); stroke: #ffffff; stroke-width: 1.5; stroke-linejoin: miter"/> +" clip-path="url(#p6bb381003d)" style="fill: url(#hba9264aac1); stroke: #ffffff; stroke-width: 1.5; stroke-linejoin: miter"/> +" clip-path="url(#p6bb381003d)" style="fill: none; stroke: #1f77b4; stroke-width: 1.5"/> - - - + + - - + + @@ -2005,7 +2005,7 @@ L 87.61 70.382187 L 87.61 63.382187 L 67.61 63.382187 z -" style="fill: url(#ha2153f56ba); stroke: #ffffff; stroke-width: 1.5; stroke-linejoin: miter"/> +" style="fill: url(#h863cbcb365); stroke: #ffffff; stroke-width: 1.5; stroke-linejoin: miter"/> @@ -2045,7 +2045,7 @@ L 87.61 98.897812 L 87.61 91.897812 L 67.61 91.897812 z -" style="fill: url(#hf84519ceb2); stroke: #ffffff; stroke-width: 1.5; stroke-linejoin: miter"/> +" style="fill: url(#hba9264aac1); stroke: #ffffff; stroke-width: 1.5; stroke-linejoin: miter"/> @@ -2066,67 +2066,115 @@ z - + - + - + diff --git a/benchmark/benchmark.py b/benchmark/benchmark.py index 06f0eebf0..d67ab05ab 100755 --- a/benchmark/benchmark.py +++ b/benchmark/benchmark.py @@ -143,7 +143,7 @@ def show_stats(dirnames): edge["label"] = fmt color = "#b3e6a8" if "diff" in fmt else "#b3d1e6" - hatch = "//" if "func" in fmt else "" + hatch = "////" if "func" in fmt else "" rects = ax.bar( pos + i * width, df[fmt],