qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From acon...@apache.org
Subject svn commit: r1165878 - /qpid/branches/qpid-2920-1/qpid/cpp/src/tests/qpid-cluster-benchmark
Date Tue, 06 Sep 2011 21:46:13 GMT
Author: aconway
Date: Tue Sep  6 21:46:12 2011
New Revision: 1165878

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

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

Modified: qpid/branches/qpid-2920-1/qpid/cpp/src/tests/qpid-cluster-benchmark
URL: http://svn.apache.org/viewvc/qpid/branches/qpid-2920-1/qpid/cpp/src/tests/qpid-cluster-benchmark?rev=1165878&r1=1165877&r2=1165878&view=diff
==============================================================================
--- qpid/branches/qpid-2920-1/qpid/cpp/src/tests/qpid-cluster-benchmark (original)
+++ qpid/branches/qpid-2920-1/qpid/cpp/src/tests/qpid-cluster-benchmark Tue Sep  6 21:46:12
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


Mime
View raw message