[logback-dev] svn commit: r1936 - logback/trunk/logback-classic/src/test/java/ch/qos/logback/classic/spi

noreply.ceki at qos.ch noreply.ceki at qos.ch
Mon Nov 3 21:10:01 CET 2008


Author: ceki
Date: Mon Nov  3 21:10:01 2008
New Revision: 1936

Modified:
   logback/trunk/logback-classic/src/test/java/ch/qos/logback/classic/spi/LoggingEventSerializationPerfTest.java

Log:

loop len of 10'000 is already pretty long

Modified: logback/trunk/logback-classic/src/test/java/ch/qos/logback/classic/spi/LoggingEventSerializationPerfTest.java
==============================================================================
--- logback/trunk/logback-classic/src/test/java/ch/qos/logback/classic/spi/LoggingEventSerializationPerfTest.java	(original)
+++ logback/trunk/logback-classic/src/test/java/ch/qos/logback/classic/spi/LoggingEventSerializationPerfTest.java	Mon Nov  3 21:10:01 2008
@@ -20,7 +20,7 @@
 
 public class LoggingEventSerializationPerfTest {
 
-  static int LOOP_LEN = 100 * 1000;
+  static int LOOP_LEN = 10 * 1000;
 
   NOPOutputStream noos = new NOPOutputStream();
   ObjectOutputStream oos;
@@ -92,7 +92,7 @@
 
     long actualSize = (long) (noos.size()/(1024*1.1d));
     
-    double baosSizeLimit = 13000;
+    double baosSizeLimit = 1300;
     assertTrue("actualSize " + actualSize + " should be less than "
         + baosSizeLimit, baosSizeLimit > actualSize);
 


More information about the logback-dev mailing list