activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r555000 - /activemq/activemq-cpp/trunk/src/test-benchmarks/activemq/util/MapBenchmark.cpp
Date Tue, 10 Jul 2007 16:48:34 GMT
Author: tabish
Date: Tue Jul 10 09:48:32 2007
New Revision: 555000

URL: http://svn.apache.org/viewvc?view=rev&rev=555000
Log:
http://issues.apache.org/activemq/browse/AMQCPP-128

Adding some new tests

Modified:
    activemq/activemq-cpp/trunk/src/test-benchmarks/activemq/util/MapBenchmark.cpp

Modified: activemq/activemq-cpp/trunk/src/test-benchmarks/activemq/util/MapBenchmark.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/test-benchmarks/activemq/util/MapBenchmark.cpp?view=diff&rev=555000&r1=554999&r2=555000
==============================================================================
--- activemq/activemq-cpp/trunk/src/test-benchmarks/activemq/util/MapBenchmark.cpp (original)
+++ activemq/activemq-cpp/trunk/src/test-benchmarks/activemq/util/MapBenchmark.cpp Tue Jul
10 09:48:32 2007
@@ -58,14 +58,14 @@
     std::vector<std::string> stringVec;
     std::vector<int> intVec;
 
-    for( int i = 0; i < numRuns; ++i ) {
+    for( int i = 0; i < numRuns / 2; ++i ) {
         stringVec = stringMap.getKeys();
         stringVec = stringMap.getValues();
         intVec = intMap.getKeys();
         intVec = intMap.getValues();
     }
 
-    for( int i = 0; i < numRuns; ++i ) {
+    for( int i = 0; i < numRuns / 2; ++i ) {
         stringCopy.copy( stringMap );
         stringCopy.clear();
         intCopy.copy( intMap );



Mime
View raw message