[jboss-cvs] JBossCache/tests/perf/org/jboss/cache/manualtests/cacheloader/oldimpl ...
Manik Surtani
manik at jboss.org
Wed May 23 06:28:54 EDT 2007
User: msurtani
Date: 07/05/23 06:28:54
Modified: tests/perf/org/jboss/cache/manualtests/cacheloader/oldimpl
OldImplBenchmark.java
OldImplRepeatingBenchmark.java
Log:
Initiated a bunch of performance fixes, including replacing CopyOnWriteArraySets with org.jboss.cache.util.concurrent.ConcurrentHashSet.
Also ran an imports optimiser on the code base - there were a lot of unused imports floating about.
Revision Changes Path
1.2 +22 -21 JBossCache/tests/perf/org/jboss/cache/manualtests/cacheloader/oldimpl/OldImplBenchmark.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: OldImplBenchmark.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/tests/perf/org/jboss/cache/manualtests/cacheloader/oldimpl/OldImplBenchmark.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- OldImplBenchmark.java 10 Feb 2007 17:47:03 -0000 1.1
+++ OldImplBenchmark.java 23 May 2007 10:28:54 -0000 1.2
@@ -1,9 +1,9 @@
package org.jboss.cache.manualtests.cacheloader.oldimpl;
-import org.jboss.cache.manualtests.cacheloader.BaseBenchmark;
+import org.jboss.cache.config.CacheLoaderConfig;
import org.jboss.cache.loader.CacheLoader;
import org.jboss.cache.loader.JDBCCacheLoaderOld;
-import org.jboss.cache.config.CacheLoaderConfig;
+import org.jboss.cache.manualtests.cacheloader.BaseBenchmark;
import java.util.Properties;
@@ -11,7 +11,8 @@
* @author Mircea.Markus at iquestint.com
* @version 1.0
*/
-public abstract class OldImplBenchmark extends BaseBenchmark {
+public abstract class OldImplBenchmark extends BaseBenchmark
+{
protected CacheLoader getCacheLoader() throws Exception
{
1.2 +20 -20 JBossCache/tests/perf/org/jboss/cache/manualtests/cacheloader/oldimpl/OldImplRepeatingBenchmark.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: OldImplRepeatingBenchmark.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/tests/perf/org/jboss/cache/manualtests/cacheloader/oldimpl/OldImplRepeatingBenchmark.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- OldImplRepeatingBenchmark.java 10 Feb 2007 17:47:03 -0000 1.1
+++ OldImplRepeatingBenchmark.java 23 May 2007 10:28:54 -0000 1.2
@@ -1,9 +1,9 @@
package org.jboss.cache.manualtests.cacheloader.oldimpl;
-import org.jboss.cache.manualtests.cacheloader.RepeatingBenchmark;
+import org.jboss.cache.config.CacheLoaderConfig;
import org.jboss.cache.loader.CacheLoader;
import org.jboss.cache.loader.JDBCCacheLoaderOld;
-import org.jboss.cache.config.CacheLoaderConfig;
+import org.jboss.cache.manualtests.cacheloader.RepeatingBenchmark;
import java.util.Properties;
More information about the jboss-cvs-commits
mailing list