Created
December 6, 2012 09:57
-
-
Save dreampuf/4223370 to your computer and use it in GitHub Desktop.
ab Benchmark plot
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# output as png image | |
set terminal png | |
# save file to "benchmark.png" | |
set output "benchmark.png" | |
# graph title | |
set title "Benchmark for gunicorn(default) vs. gunicorn(gevent) vs. gunicorn(eventlet) vs. Flask default" | |
# aspect ratio for image size | |
set size 1,1 | |
# enable grid on y-axis | |
set grid y | |
# x-axis label | |
set xlabel "Request" | |
# y-axis label | |
set ylabel "Response Time (ms)" | |
# plot data from bench1.tsv,bench2.tsv and bench3.tsv using column 10 with smooth sbezier lines | |
plot "b1.tsv" using 10 smooth sbezier with lines title "gunicorn:", \ | |
"b2.tsv" using 10 smooth sbezier with lines title "flask default:", \ | |
"b3.tsv" using 10 smooth sbezier with lines title "gevent:", \ | |
"b4.tsv" using 10 smooth sbezier with lines title "eventlet:" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment