[jboss-cvs] JBossCache/tests/perf/org/jboss/cache ...

Manik Surtani manik at jboss.org
Wed May 23 11:22:05 EDT 2007


  User: msurtani
  Date: 07/05/23 11:22:05

  Modified:    tests/perf/org/jboss/cache  ReplicatedAsyncPerfTest.java
  Log:
  Performance enhancements, including a new invoke() signature for Interceptor
  
  Revision  Changes    Path
  1.12      +33 -26    JBossCache/tests/perf/org/jboss/cache/ReplicatedAsyncPerfTest.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: ReplicatedAsyncPerfTest.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/tests/perf/org/jboss/cache/ReplicatedAsyncPerfTest.java,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -b -r1.11 -r1.12
  --- ReplicatedAsyncPerfTest.java	23 May 2007 09:01:42 -0000	1.11
  +++ ReplicatedAsyncPerfTest.java	23 May 2007 15:22:05 -0000	1.12
  @@ -30,7 +30,7 @@
    * Replicated asynchronous mode performance test for transactional CacheImpl
    *
    * @author <a href="mailto:bwang at jboss.org">Ben Wang</a> May 20 2003
  - * @version $Revision: 1.11 $
  + * @version $Revision: 1.12 $
    */
   public class ReplicatedAsyncPerfTest extends TestCase
   {
  @@ -45,7 +45,7 @@
      ArrayList nodeList_;
      static final int depth_ = 4;
      static final int children_ = 5;
  -   static final int loops = 1000;
  +   static final int loops = 10;
      static final boolean loop = true;
      DummyTransactionManager tm_;
   
  @@ -110,6 +110,13 @@
         }
      }
   
  +   public static void main() throws Exception
  +   {
  +      ReplicatedAsyncPerfTest rapt = new ReplicatedAsyncPerfTest("MAIN");
  +      rapt.setUp();
  +      rapt.testOneCacheTx_RWLock();
  +      rapt.tearDown();
  +   }
   
      public void testOneCacheTx_RWLock() throws Exception
      {
  
  
  



More information about the jboss-cvs-commits mailing list