summaryrefslogtreecommitdiff
path: root/blobs-multiprocess/proxies/results/2.haproxy.gnuplot
diff options
context:
space:
mode:
authordrebs <drebs@riseup.net>2018-01-27 16:33:22 -0200
committerdrebs <drebs@riseup.net>2018-01-27 16:33:22 -0200
commit2e766244a7f3cda9d533da74949ce4879aac6d48 (patch)
tree9b70cdd7c0844dbab2a9deeb7b9b7dc5e32efb10 /blobs-multiprocess/proxies/results/2.haproxy.gnuplot
parentdffcd8a954225dedc51beae01baf0966ce92e155 (diff)
Add proxy studies for multiprocessing.HEADmaster
Diffstat (limited to 'blobs-multiprocess/proxies/results/2.haproxy.gnuplot')
-rwxr-xr-xblobs-multiprocess/proxies/results/2.haproxy.gnuplot34
1 files changed, 34 insertions, 0 deletions
diff --git a/blobs-multiprocess/proxies/results/2.haproxy.gnuplot b/blobs-multiprocess/proxies/results/2.haproxy.gnuplot
new file mode 100755
index 0000000..ad71e7a
--- /dev/null
+++ b/blobs-multiprocess/proxies/results/2.haproxy.gnuplot
@@ -0,0 +1,34 @@
+#!/usr/bin/gnuplot
+
+# Let's output to a jpeg file
+set terminal jpeg size 800,600
+# This sets the aspect ratio of the graph
+set size 1, 1
+# The file we'll write to
+set output "2.haproxy.jpg"
+# The graph title
+set title "Response time for \"ab -c 50 -n 10000\" doing GET /blobs/user/ with haproxy"
+# Where to place the legend/key
+set key left top
+# Draw gridlines oriented on the y axis
+set grid y
+# Specify that the x-series data is time data
+#set xdata time
+# Specify the *input* format of the time data
+#set timefmt "%s"
+# Specify the *output* format for the x-axis tick labels
+#set format x "%S"
+# Label the x-axis
+set xlabel 'number of requests'
+# Label the y-axis
+set ylabel "response time (ms)"
+# Tell gnuplot to use tabs as the delimiter instead of spaces (default)
+set datafile separator '\t'
+# Plot the data
+#set offsets 1, 1, 2, 2
+#set xrange [1516827928:1516827960]
+set yrange [0:800]
+plot "2.haproxy-1.tsv" every ::2 using 5 title 'haproxy, 1 process' with lines, \
+ "2.haproxy-2.tsv" every ::2 using 5 title 'haproxy, 2 processes' with lines, \
+ "2.haproxy-3.tsv" every ::2 using 5 title 'haproxy, 3 processes' with lines, \
+ "2.haproxy-4.tsv" every ::2 using 5 title 'haproxy, 4 processes' with lines