[LOGBack-dev] svn commit: r510 - logback/trunk/logback-classic/src/test/java/ch/qos/logback/classic/net
noreply.seb at qos.ch
noreply.seb at qos.ch
Tue Sep 5 20:59:04 CEST 2006
Author: seb
Date: Tue Sep 5 20:59:03 2006
New Revision: 510
Modified:
logback/trunk/logback-classic/src/test/java/ch/qos/logback/classic/net/SerializationPerfsTest.java
Log:
Modified: logback/trunk/logback-classic/src/test/java/ch/qos/logback/classic/net/SerializationPerfsTest.java
==============================================================================
--- logback/trunk/logback-classic/src/test/java/ch/qos/logback/classic/net/SerializationPerfsTest.java (original)
+++ logback/trunk/logback-classic/src/test/java/ch/qos/logback/classic/net/SerializationPerfsTest.java Tue Sep 5 20:59:03 2006
@@ -18,8 +18,8 @@
int loopNumber = 10000;
int resetFrequency = 100;
- int pauseFrequency = 200;
- long pauseLengthInMillis = 50;
+ int pauseFrequency = 100;
+ long pauseLengthInMillis = 20;
/**
* Run the test with a MockSocketServer or with a NOPOutputStream
@@ -112,7 +112,7 @@
oos.flush();
if (++resetCounter >= resetFrequency) {
oos.reset();
- //resetCounter = 0;
+ resetCounter = 0;
}
if (++pauseCounter >= pauseFrequency) {
Thread.sleep(pauseLengthInMillis);
@@ -139,7 +139,7 @@
total += (t2 - t1);
if (++resetCounter >= resetFrequency) {
oos.reset();
- //resetCounter = 0;
+ resetCounter = 0;
}
if (++pauseCounter >= pauseFrequency) {
Thread.sleep(pauseLengthInMillis);
More information about the logback-dev
mailing list