jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mreut...@apache.org
Subject svn commit: r1565113 - /jackrabbit/oak/trunk/oak-run/src/main/java/org/apache/jackrabbit/oak/benchmark/ObservationTest.java
Date Thu, 06 Feb 2014 08:33:20 GMT
Author: mreutegg
Date: Thu Feb  6 08:33:20 2014
New Revision: 1565113

URL: http://svn.apache.org/r1565113
Log:
OAK-1394: Event generation too slow with DocumentNodeStore

Allow some overrides with system properties

Modified:
    jackrabbit/oak/trunk/oak-run/src/main/java/org/apache/jackrabbit/oak/benchmark/ObservationTest.java

Modified: jackrabbit/oak/trunk/oak-run/src/main/java/org/apache/jackrabbit/oak/benchmark/ObservationTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-run/src/main/java/org/apache/jackrabbit/oak/benchmark/ObservationTest.java?rev=1565113&r1=1565112&r2=1565113&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-run/src/main/java/org/apache/jackrabbit/oak/benchmark/ObservationTest.java
(original)
+++ jackrabbit/oak/trunk/oak-run/src/main/java/org/apache/jackrabbit/oak/benchmark/ObservationTest.java
Thu Feb  6 08:33:20 2014
@@ -48,9 +48,9 @@ public class ObservationTest extends Ben
     public static final int EVENT_TYPES = NODE_ADDED | NODE_REMOVED | NODE_MOVED |
             PROPERTY_ADDED | PROPERTY_REMOVED | PROPERTY_CHANGED | PERSIST;
     private static final int EVENTS_PER_NODE = 2; // NODE_ADDED and PROPERTY_ADDED
-    private static final int SAVE_INTERVAL = 100;
+    private static final int SAVE_INTERVAL = Integer.getInteger("saveInterval", 100);
     private static final int OUTPUT_RESOLUTION = 100;
-    private static final int LISTENER_COUNT = 100;
+    private static final int LISTENER_COUNT = Integer.getInteger("listenerCount", 100);
 
     @Override
     public void run(Iterable<RepositoryFixture> fixtures) {



Mime
View raw message