[jboss-cvs] JBoss Messaging SVN: r7117 - branches/Branch_JBM2_Perf_Clebert/tests/src/org/jboss/messaging/tests/performance/journal.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Thu May 28 18:27:55 EDT 2009
Author: clebert.suconic at jboss.com
Date: 2009-05-28 18:27:55 -0400 (Thu, 28 May 2009)
New Revision: 7117
Modified:
branches/Branch_JBM2_Perf_Clebert/tests/src/org/jboss/messaging/tests/performance/journal/PerformanceComparissonTest.java
Log:
more tweaks
Modified: branches/Branch_JBM2_Perf_Clebert/tests/src/org/jboss/messaging/tests/performance/journal/PerformanceComparissonTest.java
===================================================================
--- branches/Branch_JBM2_Perf_Clebert/tests/src/org/jboss/messaging/tests/performance/journal/PerformanceComparissonTest.java 2009-05-28 22:13:19 UTC (rev 7116)
+++ branches/Branch_JBM2_Perf_Clebert/tests/src/org/jboss/messaging/tests/performance/journal/PerformanceComparissonTest.java 2009-05-28 22:27:55 UTC (rev 7117)
@@ -139,7 +139,7 @@
JournalImpl journal = new JournalImpl(10 * 1024 * 1024, // 10M.. we believe that's the usual cilinder
// size.. not an exact science here
- 30, // number of files pre-allocated
+ 2, // number of files pre-allocated
true, // sync on commit
false, // no sync on non transactional
fileFactory, // AIO or NIO
@@ -169,9 +169,15 @@
}
}
+ System.out.println("Produced records before stop " + (NUM_RECORDS - WARMUP_RECORDS) +
+ " in " +
+ (System.currentTimeMillis() - timeStart) +
+ " milliseconds");
+
journal.stop();
- System.out.println("Produced records " + (NUM_RECORDS - WARMUP_RECORDS) +
+
+ System.out.println("Produced records after stop " + (NUM_RECORDS - WARMUP_RECORDS) +
" in " +
(System.currentTimeMillis() - timeStart) +
" milliseconds");
More information about the jboss-cvs-commits
mailing list