summaryrefslogtreecommitdiff
path: root/blobs-multiprocess/proxies/results/compare.gnuplot
diff options
context:
space:
mode:
Diffstat (limited to 'blobs-multiprocess/proxies/results/compare.gnuplot')
-rwxr-xr-xblobs-multiprocess/proxies/results/compare.gnuplot33
1 files changed, 33 insertions, 0 deletions
diff --git a/blobs-multiprocess/proxies/results/compare.gnuplot b/blobs-multiprocess/proxies/results/compare.gnuplot
new file mode 100755
index 0000000..0fcf5f7
--- /dev/null
+++ b/blobs-multiprocess/proxies/results/compare.gnuplot
@@ -0,0 +1,33 @@
+#!/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 "noproxy.jpg"
+# The graph title
+set title "Response time for \"ab -c 50 -n 10000\" doing GET /blobs/user/ with different proxy scenarios"
+# 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 "noproxy.tsv" every ::2 using 5 title 'no proxy' with lines, \
+ "haproxy.tsv" every ::2 using 5 title 'haproxy' with lines, \
+ "pyproxy.tsv" every ::2 using 5 title 'python proxy' with lines