diff options
author | Rajith Muditha Attapattu <rajith@apache.org> | 2011-07-30 02:23:02 +0000 |
---|---|---|
committer | Rajith Muditha Attapattu <rajith@apache.org> | 2011-07-30 02:23:02 +0000 |
commit | 3a486fea7053fad5b6c7239f14da94c209d92c63 (patch) | |
tree | adbaae3885272e6752ef39daec6045886ab45490 | |
parent | 966e45e68a669f1d2bcce2b2ecce51c5353841a9 (diff) | |
download | qpid-python-3a486fea7053fad5b6c7239f14da94c209d92c63.tar.gz |
QPID-3358 Added a gnuplot script that can be useful in graphing test results.
If the -Dduration options is used with the PerfTestController it will output the results of each iteration to a CSV file.
You could use the perf-report.gnu with gnuplot to generated some graphs uisng this CSV file.
The script expects the CSV file to be in the same directly (alternative you can modify the script to load it from somewhere
else). Also you will need to modify the yrange values to suite the outcome of your test environment.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1152415 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | java/tools/etc/perf-report.gnu | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/java/tools/etc/perf-report.gnu b/java/tools/etc/perf-report.gnu new file mode 100644 index 0000000000..6d5020efb5 --- /dev/null +++ b/java/tools/etc/perf-report.gnu @@ -0,0 +1,42 @@ +set terminal png +set datafile separator "," + +set title "Variation of avg latency between iterations" +set yrange [10:20] +set xlabel "Iterations" +set ylabel "Latency (ms)" +set output "avg_latency.png" +plot "stats-csv.log" using 9 title "avg latency" with lines, 14 title "target latency" with lines + + +set title "Variation of max latency between iterations" +set yrange [0:1000] +set xlabel "Iterations" +set ylabel "Latency (ms)" +set output "max_latency.png" +plot "stats-csv.log" using 11 title "max latency" with lines,14 title "target latency" with lines,100 title "100 ms" with lines + + +set title "Variation of standard deviation of latency between iterations" +set yrange [0:20] +set xlabel "Iterations" +set ylabel "Standard Deviation" +set output "std_dev_latency.png" +plot "stats-csv.log" using 12 title "standard deviation" with lines + + +set title "Variation of system throughput between iterations" +set yrange [400000:450000] +set xlabel "Iterations" +set ylabel "System Throuhgput (msg/sec)" +set output "system_rate.png" +plot "stats-csv.log" using 2 title "system throughput" with lines + + +set title "Variation of avg producer & consumer rates between iterations" +set yrange [6500:7500] +set xlabel "Iterations" +set ylabel "Avg Rates (msg/sec)" +set output "prod_cons_rate.png" +plot "stats-csv.log" using 6 title "producer rate" with lines,"stats-csv.log" using 3 title "consumer rate" with lines + |