[logback-dev] svn commit: r2307 - logback/trunk/logback-classic/src/test/java/ch/qos/logback/classic/issue/lbclassic135

noreply.ceki at qos.ch noreply.ceki at qos.ch
Fri Jun 26 23:23:13 CEST 2009


Author: ceki
Date: Fri Jun 26 23:23:13 2009
New Revision: 2307

Modified:
   logback/trunk/logback-classic/src/test/java/ch/qos/logback/classic/issue/lbclassic135/LoggingToFileThrouhput.java

Log:
- single threaded results

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	Fri Jun 26 23:23:13 2009
@@ -14,7 +14,7 @@
  */
 public class LoggingToFileThrouhput {
 
-  static int THREAD_COUNT = 10;
+  static int THREAD_COUNT = 1;
   static long OVERALL_DURATION_IN_MILLIS = 5000;
 
   public static void main(String args[]) throws InterruptedException {
@@ -70,8 +70,9 @@
 // java.vendor          = Sun Microsystems Inc.
 // os.name              = Windows XP
 //
-// File:   total of 309402 operations, or 61 operations per millisecond
-//
+// Threads 10:  total of 309402 operations, or 61 operations per millisecond
+// Threads 1:   total of 485077 operations, or 97 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