Sha256: 3bdebca02037270ab9a5e07e99cb7a83d6bb6a0ae2d0a593ffa355e8d751bbf2
Contents?: true
Size: 941 Bytes
Versions: 87
Compression:
Stored size: 941 Bytes
Contents
#!/usr/local/bin//gnuplot # from http://www.bradlanders.com/2013/04/15/apache-bench-and-gnuplot-youre-probably-doing-it-wrong/ # Let's output to a jpeg file set terminal jpeg size 900,500 # This sets the aspect ratio of the graph set size 1, 1 # The file we'll write to set output "tmp/timeseries.jpg" # The graph title set title "Benchmark testing" # 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 'seconds' # 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 plot "tmp/ab_brench.tsv" every ::2 using 2:5 title 'response time' with points exit
Version data entries
87 entries across 87 versions & 1 rubygems