[logback-dev] svn commit: r2311 - logback/trunk/logback-classic/src/test/java/ch/qos/logback/classic/issue/lbclassic135
noreply.ceki at qos.ch
noreply.ceki at qos.ch
Mon Jun 29 17:52:10 CEST 2009
Author: ceki
Date: Mon Jun 29 17:52:09 2009
New Revision: 2311
Modified:
logback/trunk/logback-classic/src/test/java/ch/qos/logback/classic/issue/lbclassic135/LoggingToFileThrouhput.java
Log:
throughput results after revision 2310 is applied show noticeable
degradation in throughput of 10 to 20% (on windows)
Modified: logback/trunk/logback-classic/src/test/java/ch/qos/logback/classic/issue/lbclassic135/LoggingToFileThrouhput.java
==============================================================================
--- logback/trunk/logback-classic/src/test/java/ch/qos/logback/classic/issue/lbclassic135/LoggingToFileThrouhput.java (original)
+++ logback/trunk/logback-classic/src/test/java/ch/qos/logback/classic/issue/lbclassic135/LoggingToFileThrouhput.java Mon Jun 29 17:52:09 2009
@@ -14,7 +14,7 @@
*/
public class LoggingToFileThrouhput {
- static int THREAD_COUNT = 1;
+ static int THREAD_COUNT = 10;
static long OVERALL_DURATION_IN_MILLIS = 5000;
public static void main(String args[]) throws InterruptedException {
@@ -73,6 +73,11 @@
// Threads 10: total of 309402 operations, or 61 operations per millisecond
// Threads 1: total of 485077 operations, or 97 operations per millisecond
+// After revision 2310
+
+// Threads 1: total of 462465 operations, or 92 operations per millisecond
+//Threads 10: total of 243362 operations, or 48 operations per millisecond
+
// java.runtime.version = 1.6.0_11-b03
// java.vendor = Sun Microsystems Inc.
// os.name = Linux
More information about the logback-dev
mailing list