qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From raj...@apache.org
Subject svn commit: r1152415 - /qpid/trunk/qpid/java/tools/etc/perf-report.gnu
Date Sat, 30 Jul 2011 02:23:02 GMT
Author: rajith
Date: Sat Jul 30 02:23:02 2011
New Revision: 1152415

URL: http://svn.apache.org/viewvc?rev=1152415&view=rev
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.


Added: qpid/trunk/qpid/java/tools/etc/perf-report.gnu
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/java/tools/etc/perf-report.gnu?rev=1152415&view=auto
--- qpid/trunk/qpid/java/tools/etc/perf-report.gnu (added)
+++ qpid/trunk/qpid/java/tools/etc/perf-report.gnu Sat Jul 30 02:23:02 2011
@@ -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
+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

Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:commits-subscribe@qpid.apache.org

View raw message