aboutsummaryrefslogtreecommitdiff
path: root/artifacts/2022-09-23-warp/plot.R
diff options
context:
space:
mode:
Diffstat (limited to 'artifacts/2022-09-23-warp/plot.R')
-rw-r--r--artifacts/2022-09-23-warp/plot.R22
1 files changed, 22 insertions, 0 deletions
diff --git a/artifacts/2022-09-23-warp/plot.R b/artifacts/2022-09-23-warp/plot.R
new file mode 100644
index 0000000..f4fec0a
--- /dev/null
+++ b/artifacts/2022-09-23-warp/plot.R
@@ -0,0 +1,22 @@
+library(tidyverse)
+
+
+read_csv("summary.csv")-> s
+
+hum_names <- as_labeller(c(`obj_per_sec` = "Objects/sec", `mbyte_per_sec` = "MByte/sec"))
+
+
+ggplot(s, aes(x=value,y=config)) +
+ geom_bar(stat="identity", fill="#00BFC4", color="black") +
+ facet_wrap(~measurement,dir="v", scales = "free", labeller = hum_names) +
+ scale_x_continuous(expand=c(0,0), breaks = scales::pretty_breaks(n = 10))+
+ labs(
+ y="Daemon",
+ x="Metric",
+ caption="Get the code to reproduce this graph at https://git.deuxfleurs.fr/Deuxfleurs/mknet",
+ title="\"minio/warp\" benchmark, \"cluster total\" result",
+ subtitle="Ran on a local machine (Ryzen 5 1400, 16GB RAM, SSD) with mknet\nDC topology (3 nodes, 1GB/s, 1ms lat)\nwarp in mixed mode, 5min bench, 5MB objects, initialized with 200 objects") +
+ theme_classic()
+
+ggsave("./plot.png", width=200, height=120, units="mm")
+1 \ No newline at end of file