Last active
December 14, 2015 21:19
-
-
Save kashyapp/5150743 to your computer and use it in GitHub Desktop.
Gnuplot reference
(Pummel.Step => Gnuplot)
This file contains hidden or 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
| #!/bin/sh -e | |
| FILE=$1 | |
| gnuplot << EOF | |
| set noautoscale | |
| set autoscale x | |
| set autoscale ymax | |
| set autoscale y2max | |
| set logscale x | |
| set xlabel 'concurrency' | |
| set ylabel 'latency(ms)' | |
| set y2label 'reqs/sec' | |
| set y2tics auto | |
| set xtics 2 | |
| set tics nomirror out | |
| set style data line | |
| set terminal png size 600,400 truecolor font 'Verdana, 8' background '#FFFFDD' | |
| set output "plots/$FILE.png" | |
| set title "Config Size : $FILE MB" | |
| plot "$FILE" using "clients":"tp99.0" title 'tp99(ms)', \ | |
| '' using "clients":"mean":"stddev" with errorbars title 'mean(ms)', \ | |
| '' using "clients":"reqs/sec" axes x1y2 title 'reqs/sec' | |
| EOF | |
| echo "<img src='$FILE.png' height=400 width=600 />" |
This file contains hidden or 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
| clients tp99.0 mean stddev max count time reqs/sec | |
| 1 109.18 74.07 43.19 1776.95 2048 151.74 13.50 | |
| 2 352.83 145.65 48.75 614.44 2048 149.19 13.73 | |
| 3 619.28 227.91 106.44 1215.33 2048 155.63 13.16 | |
| 4 729.96 275.94 114.07 1069.61 2048 141.33 14.49 | |
| 5 991.89 345.10 154.28 1526.80 2048 141.43 14.48 | |
| 6 1356.72 416.04 203.41 2343.69 2048 142.09 14.41 | |
| 8 1672.37 548.67 250.00 2733.74 2048 140.56 14.57 | |
| 10 2235.99 685.22 347.25 3134.55 2048 140.47 14.58 | |
| 12 2729.57 822.72 448.74 4093.71 2048 140.53 14.57 | |
| 15 2115.15 1042.55 333.60 3183.19 2048 142.55 14.37 | |
| 18 3268.27 1231.26 490.13 4020.96 2048 140.33 14.59 | |
| 22 3770.82 1503.43 686.97 4809.91 2048 140.28 14.60 | |
| 27 4131.25 1863.77 779.82 5518.86 2048 141.69 14.45 | |
| 33 4995.14 2309.30 967.33 6297.63 2048 143.77 14.25 | |
| 40 5558.28 2751.22 997.96 6359.52 2048 141.40 14.48 | |
| 48 6390.26 3363.25 1144.27 8338.94 2048 143.99 14.22 | |
| 58 7431.66 3953.72 1292.40 9642.82 2048 140.28 14.60 | |
| 70 10389.70 4994.13 1711.22 12536.10 2048 147.17 13.92 | |
| 84 10099.03 5726.35 1636.63 12760.35 2048 140.64 14.56 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment