aboutsummaryrefslogtreecommitdiff
path: root/benches/scripts/mem/plot.plt
diff options
context:
space:
mode:
authorGravatar Yujia Qiao <rapiz3142@gmail.com> 2021-12-28 20:04:54 +0800
committerGravatar Yujia Qiao <rapiz3142@gmail.com> 2022-01-02 12:05:21 +0800
commit4a1da9be7fdff51ecc8b24e7c5331883d895937f (patch)
tree8bda34d9ddf021b61f4597a960efca8f1409bde6 /benches/scripts/mem/plot.plt
parent1180c7e538564efd69742f22e77453a1b74a5ed2 (diff)
downloadrathole-4a1da9be7fdff51ecc8b24e7c5331883d895937f.tar.gz
rathole-4a1da9be7fdff51ecc8b24e7c5331883d895937f.tar.zst
rathole-4a1da9be7fdff51ecc8b24e7c5331883d895937f.zip
docs: update benchmark and add about memory usage
Diffstat (limited to 'benches/scripts/mem/plot.plt')
-rw-r--r--benches/scripts/mem/plot.plt18
1 files changed, 18 insertions, 0 deletions
diff --git a/benches/scripts/mem/plot.plt b/benches/scripts/mem/plot.plt
new file mode 100644
index 0000000..ee4a548
--- /dev/null
+++ b/benches/scripts/mem/plot.plt
@@ -0,0 +1,18 @@
+set title "Memory Usage" font ",20"
+
+set term png small size 800,600
+set key box outside
+
+set output "mem-graph.png"
+
+set ylabel "RSZ"
+set format y '%.0s%cB'
+
+set ytics nomirror
+
+set yrange [0:*]
+
+plot "frps-mem.log" using 1 with lines axes x1y1 title "frps RSZ", \
+ "frpc-mem.log" using 1 with lines axes x1y1 title "frpc RSZ", \
+ "ratholes-mem.log" using 1 with lines axes x1y1 title "ratholes RSZ", \
+ "ratholec-mem.log" using 1 with lines axes x1y1 title "ratholec RSZ"