You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ac...@apache.org on 2011/04/13 23:03:36 UTC

svn commit: r1091920 - /qpid/branches/qpid-2920/qpid/cpp/src/tests/qpid-cluster-benchmark

Author: aconway
Date: Wed Apr 13 21:03:36 2011
New Revision: 1091920

URL: http://svn.apache.org/viewvc?rev=1091920&view=rev
Log:
NO-JIRA: Fix ambiguous option to qpid-cluster-benchmark.

Modified:
    qpid/branches/qpid-2920/qpid/cpp/src/tests/qpid-cluster-benchmark

Modified: qpid/branches/qpid-2920/qpid/cpp/src/tests/qpid-cluster-benchmark
URL: http://svn.apache.org/viewvc/qpid/branches/qpid-2920/qpid/cpp/src/tests/qpid-cluster-benchmark?rev=1091920&r1=1091919&r2=1091920&view=diff
==============================================================================
--- qpid/branches/qpid-2920/qpid/cpp/src/tests/qpid-cluster-benchmark (original)
+++ qpid/branches/qpid-2920/qpid/cpp/src/tests/qpid-cluster-benchmark Wed Apr 13 21:03:36 2011
@@ -22,16 +22,16 @@
 
 # Default values
 PORT="5672"
-COUNT=10000
+MESSAGES=10000
 FLOW=100	      # Flow control limit on queue depth for latency.
 REPEAT=10
 QUEUES=4
 CLIENTS=3
 
-while getopts "p:c:f:r:t:b:q:c" opt; do
+while getopts "p:m:f:r:t:b:q:c" opt; do
     case $opt in
 	p) PORT=$OPTARG;;
-	c) COUNT=$OPTARG;;
+	m) MESSAGES=$OPTARG;;
 	f) FLOW=$OPTARG;;
 	r) REPEAT=$OPTARG;;
 	s) SCALE=$OPTARG;;
@@ -48,11 +48,11 @@ BROKER=`echo $BROKERS | awk -F, '{print 
 run_test() { echo $*; shift; "$@"; echo; echo; echo; }
 
 # Multiple pubs/subs connect via multiple brokers (active-active)
-run_test "multi-host-thruput" qpid-cpp-benchmark --repeat $REPEAT -b $BROKERS --no-timestamp --summarize -q$QUEUES -s$CLIENTS -r$CLIENTS -m $COUNT
+run_test "multi-host-thruput" qpid-cpp-benchmark --repeat $REPEAT -b $BROKERS --no-timestamp --summarize -q$QUEUES -s$CLIENTS -r$CLIENTS -m $MESSAGES
 
 # Multiple pubs/subs connect via single broker (active-passive)
-run_test "single-host-thruput" qpid-cpp-benchmark --repeat $REPEAT -b $BROKER --no-timestamp --summarize -q$QUEUES -s$CLIENTS -r$CLIENTS -m $COUNT
+run_test "single-host-thruput" qpid-cpp-benchmark --repeat $REPEAT -b $BROKER --no-timestamp --summarize -q$QUEUES -s$CLIENTS -r$CLIENTS -m $MESSAGES
 
 # Latency
-run_test "latency" qpid-cpp-benchmark --repeat $REPEAT -b $BROKER --connection-options '{tcp-nodelay:true}' -m $COUNT --flow-control $FLOW
+run_test "latency" qpid-cpp-benchmark --repeat $REPEAT -b $BROKER --connection-options '{tcp-nodelay:true}' -m $MESSAGES --flow-control $FLOW
 



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