summaryrefslogtreecommitdiff
path: root/blobs-multiprocess/proxies/results/3.twisted-web-resource.gnuplot
blob: 80963be28e3a9d2b28a18eb362cfeda311a63d40 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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 "3.twisted-web-resource.jpg"
# The graph title
set title "Response time for \"ab -c 50 -n 10000\" doing GET /blobs/user/ with python proxy"
# 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 "3.twisted-web-resource-1.tsv" every ::2 using 5 title 'twisted web resource, 1 process' with lines, \
  "3.twisted-web-resource-2.tsv" every ::2 using 5 title 'twisted web resource proxy, 2 processes' with lines, \
  "3.twisted-web-resource-3.tsv" every ::2 using 5 title 'twisted web resource proxy, 3 processes' with lines, \
  "3.twisted-web-resource-4.tsv" every ::2 using 5 title 'twisted web resource proxy, 4 processes' with lines