summaryrefslogtreecommitdiff
path: root/doc/threads/stats-draw.gnuplot
diff options
context:
space:
mode:
authorMaria Matejka <mq@ucw.cz>2021-12-09 21:53:00 +0100
committerMaria Matejka <mq@ucw.cz>2022-02-03 10:03:17 +0100
commit935b0b7124a72e561b3151bfce7cab6b9c7bd255 (patch)
tree6ab715a78df017f266d9f98725a8148f9831db99 /doc/threads/stats-draw.gnuplot
parentffa6a51c58e7880a330e2bc3da22e5e5174e2100 (diff)
Performance data of sark vs. v2.0.8 with a chart generator
Diffstat (limited to 'doc/threads/stats-draw.gnuplot')
-rw-r--r--doc/threads/stats-draw.gnuplot41
1 files changed, 41 insertions, 0 deletions
diff --git a/doc/threads/stats-draw.gnuplot b/doc/threads/stats-draw.gnuplot
new file mode 100644
index 00000000..734f14a6
--- /dev/null
+++ b/doc/threads/stats-draw.gnuplot
@@ -0,0 +1,41 @@
+set datafile columnheaders
+set datafile separator ";"
+#set isosample 15
+set dgrid3d 8,8
+set logscale
+set view 80,15,1,1
+set autoscale xy
+#set pm3d
+
+set term pdfcairo size 20cm,15cm
+
+set xlabel "TOTAL ROUTES" offset 0,-1.5
+set xrange [10000:320000]
+set xtics offset 0,-0.5
+set xtics (10000,15000,30000,50000,100000,150000,300000)
+
+set ylabel "PEERS"
+#set yrange [10:320]
+#set ytics (10,15,30,50,100,150,300)
+set yrange [10:320]
+set ytics (10,15,30,50,100,150,300)
+
+set zrange [1:2000]
+set xyplane at 1
+
+set border 895
+
+#set grid ztics lt 20
+
+set output ARG1 . "-" . ARG4 . ".pdf"
+
+splot \
+ ARG1 . ".csv" \
+ using "TOTAL_ROUTES":"PEERS":ARG2."/".ARG4 \
+ with lines \
+ title ARG2."/".ARG4, \
+ "" \
+ using "TOTAL_ROUTES":"PEERS":ARG3."/".ARG4 \
+ with lines \
+ title ARG3."/".ARG4
+