[jboss-cvs] JBossCache/tests/perf/org/jboss/cache ...
Elias Ross
genman at noderunner.net
Wed Feb 7 17:06:48 EST 2007
User: genman
Date: 07/02/07 17:06:48
Modified: tests/perf/org/jboss/cache LocalPerfTest.java
ConcurrentEvictAndRemoveTest.java SizeOf.java
ReplicatedSyncPerfTest.java
ReplicatedSyncMapPerfTest.java
ReplicatedAsyncMapPerfTest.java
LocalMapPerfTest.java
Log:
JBCACHE-969 - Move transaction classes to org.jboss.cache.transaction
Revision Changes Path
1.9 +2 -2 JBossCache/tests/perf/org/jboss/cache/LocalPerfTest.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: LocalPerfTest.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/tests/perf/org/jboss/cache/LocalPerfTest.java,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -b -r1.8 -r1.9
--- LocalPerfTest.java 11 Jan 2007 13:49:06 -0000 1.8
+++ LocalPerfTest.java 7 Feb 2007 22:06:48 -0000 1.9
@@ -29,7 +29,7 @@
* Local mode performance test for CacheImpl.
*
* @author <a href="mailto:bwang at jboss.org">Ben Wang</a> May 20 2003
- * @version $Revision: 1.8 $
+ * @version $Revision: 1.9 $
*/
public class LocalPerfTest extends TestCase
{
@@ -89,7 +89,7 @@
{
cachingMode_ = caching_mode;
cache_ = (CacheImpl) DefaultCacheFactory.getInstance().createCache("META-INF/local-service.xml", false);
- cache_.getConfiguration().setTransactionManagerLookupClass("org.jboss.cache.DummyTransactionManagerLookup");
+ cache_.getConfiguration().setTransactionManagerLookupClass("org.jboss.cache.transaction.DummyTransactionManagerLookup");
cache_.start();
}
1.9 +2 -2 JBossCache/tests/perf/org/jboss/cache/ConcurrentEvictAndRemoveTest.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: ConcurrentEvictAndRemoveTest.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/tests/perf/org/jboss/cache/ConcurrentEvictAndRemoveTest.java,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -b -r1.8 -r1.9
--- ConcurrentEvictAndRemoveTest.java 11 Jan 2007 13:49:06 -0000 1.8
+++ ConcurrentEvictAndRemoveTest.java 7 Feb 2007 22:06:48 -0000 1.9
@@ -23,7 +23,7 @@
* Local mode test for concurrent EvictionTimerTask evicting nodes and Client removing nodes from CacheImpl.
*
* @author <a href="mailto:uwe.lamprecht at gmx.de">Uwe Lamprecht</a> July 29 2004
- * @version $Revision: 1.8 $
+ * @version $Revision: 1.9 $
*/
public final class ConcurrentEvictAndRemoveTest extends TestCase
{
@@ -52,7 +52,7 @@
{
super.setUp();
Configuration c = new XmlConfigurationParser().parseFile("META-INF/local-mru-eviction-service.xml");
- c.setTransactionManagerLookupClass("org.jboss.cache.DummyTransactionManagerLookup");
+ c.setTransactionManagerLookupClass("org.jboss.cache.transaction.DummyTransactionManagerLookup");
cache = (CacheImpl) DefaultCacheFactory.getInstance().createCache(c);
}
1.4 +1 -1 JBossCache/tests/perf/org/jboss/cache/SizeOf.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: SizeOf.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/tests/perf/org/jboss/cache/SizeOf.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- SizeOf.java 17 Jan 2007 01:31:08 -0000 1.3
+++ SizeOf.java 7 Feb 2007 22:06:48 -0000 1.4
@@ -26,7 +26,7 @@
public static long estimateSize(Class s) throws Exception
{
- final int n = 100000;
+ final int n = 10000;
Object[] array = new Object[n];
giveGarbageCollectionAChance();
long before = getUsedMemory();
1.9 +2 -2 JBossCache/tests/perf/org/jboss/cache/ReplicatedSyncPerfTest.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: ReplicatedSyncPerfTest.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/tests/perf/org/jboss/cache/ReplicatedSyncPerfTest.java,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -b -r1.8 -r1.9
--- ReplicatedSyncPerfTest.java 11 Jan 2007 13:49:06 -0000 1.8
+++ ReplicatedSyncPerfTest.java 7 Feb 2007 22:06:48 -0000 1.9
@@ -29,7 +29,7 @@
*
* @author Bela Ban
* @author <a href="mailto:bwang at jboss.org">Ben Wang</a> May 20 2003
- * @version $Revision: 1.8 $
+ * @version $Revision: 1.9 $
*/
public class ReplicatedSyncPerfTest extends TestCase
{
@@ -71,7 +71,7 @@
CacheImpl cache = (CacheImpl) DefaultCacheFactory.getInstance().createCache(false);
cache.setConfiguration(UnitTestCacheFactory.createConfiguration(CacheMode.REPL_SYNC));
cache.getConfiguration().setIsolationLevel(level);
- cache.getConfiguration().setTransactionManagerLookupClass("org.jboss.cache.DummyTransactionManagerLookup");
+ cache.getConfiguration().setTransactionManagerLookupClass("org.jboss.cache.transaction.DummyTransactionManagerLookup");
cache.getConfiguration().setSyncCommitPhase(true);
cache.getConfiguration().setSyncRollbackPhase(true);
cache.getConfiguration().setLockAcquisitionTimeout(2000);
1.10 +2 -2 JBossCache/tests/perf/org/jboss/cache/ReplicatedSyncMapPerfTest.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: ReplicatedSyncMapPerfTest.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/tests/perf/org/jboss/cache/ReplicatedSyncMapPerfTest.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -b -r1.9 -r1.10
--- ReplicatedSyncMapPerfTest.java 11 Jan 2007 13:49:06 -0000 1.9
+++ ReplicatedSyncMapPerfTest.java 7 Feb 2007 22:06:48 -0000 1.10
@@ -33,7 +33,7 @@
* Local mode performance test for CacheImpl.
*
* @author <a href="mailto:bwang at jboss.org">Ben Wang</a> May 20 2003
- * @version $Revision: 1.9 $
+ * @version $Revision: 1.10 $
*/
public class ReplicatedSyncMapPerfTest extends TestCase
{
@@ -144,7 +144,7 @@
cachingMode_ = caching_mode;
cache_ = (CacheImpl) DefaultCacheFactory.getInstance().createCache(false);
cache_.setConfiguration(UnitTestCacheFactory.createConfiguration(CacheMode.REPL_SYNC));
- cache_.getConfiguration().setTransactionManagerLookupClass("org.jboss.cache.DummyTransactionManagerLookup");
+ cache_.getConfiguration().setTransactionManagerLookupClass("org.jboss.cache.transaction.DummyTransactionManagerLookup");
cache_.start();
// org.jgroups.log.Trace.init();
}
1.11 +2 -2 JBossCache/tests/perf/org/jboss/cache/ReplicatedAsyncMapPerfTest.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: ReplicatedAsyncMapPerfTest.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/tests/perf/org/jboss/cache/ReplicatedAsyncMapPerfTest.java,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -b -r1.10 -r1.11
--- ReplicatedAsyncMapPerfTest.java 11 Jan 2007 13:49:06 -0000 1.10
+++ ReplicatedAsyncMapPerfTest.java 7 Feb 2007 22:06:48 -0000 1.11
@@ -31,7 +31,7 @@
* Local mode performance test for CacheImpl.
*
* @author <a href="mailto:bwang at jboss.org">Ben Wang</a> May 20 2003
- * @version $Revision: 1.10 $
+ * @version $Revision: 1.11 $
*/
public class ReplicatedAsyncMapPerfTest extends TestCase
{
@@ -140,7 +140,7 @@
cachingMode_ = caching_mode;
cache_ = (CacheImpl) DefaultCacheFactory.getInstance().createCache(false);
cache_.setConfiguration(UnitTestCacheFactory.createConfiguration(CacheMode.REPL_ASYNC));// read in generic replAsync xml
- cache_.getConfiguration().setTransactionManagerLookupClass("org.jboss.cache.DummyTransactionManagerLookup");
+ cache_.getConfiguration().setTransactionManagerLookupClass("org.jboss.cache.transaction.DummyTransactionManagerLookup");
cache_.start();
}
1.9 +2 -2 JBossCache/tests/perf/org/jboss/cache/LocalMapPerfTest.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: LocalMapPerfTest.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/tests/perf/org/jboss/cache/LocalMapPerfTest.java,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -b -r1.8 -r1.9
--- LocalMapPerfTest.java 11 Jan 2007 13:49:06 -0000 1.8
+++ LocalMapPerfTest.java 7 Feb 2007 22:06:48 -0000 1.9
@@ -31,7 +31,7 @@
* Local mode performance test for CacheImpl.
*
* @author <a href="mailto:bwang at jboss.org">Ben Wang</a> May 20 2003
- * @version $Revision: 1.8 $
+ * @version $Revision: 1.9 $
*/
public class LocalMapPerfTest extends TestCase
{
@@ -122,7 +122,7 @@
{
cachingMode_ = caching_mode;
cache_ = (CacheImpl) DefaultCacheFactory.getInstance().createCache("META-INF/local-service.xml", false);
- cache_.getConfiguration().setTransactionManagerLookupClass("org.jboss.cache.DummyTransactionManagerLookup");
+ cache_.getConfiguration().setTransactionManagerLookupClass("org.jboss.cache.transaction.DummyTransactionManagerLookup");
cache_.start();
}
More information about the jboss-cvs-commits
mailing list