You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by mc...@apache.org on 2011/10/22 04:21:33 UTC

svn commit: r1187643 - /commons/proper/ognl/performance-analysis/src/test/java/org/apache/commons/ognl/performance/PerformanceCommonsOgnlTest.java

Author: mcucchiara
Date: Sat Oct 22 02:21:33 2011
New Revision: 1187643

URL: http://svn.apache.org/viewvc?rev=1187643&view=rev
Log:
Adjusted time settings

Modified:
    commons/proper/ognl/performance-analysis/src/test/java/org/apache/commons/ognl/performance/PerformanceCommonsOgnlTest.java

Modified: commons/proper/ognl/performance-analysis/src/test/java/org/apache/commons/ognl/performance/PerformanceCommonsOgnlTest.java
URL: http://svn.apache.org/viewvc/commons/proper/ognl/performance-analysis/src/test/java/org/apache/commons/ognl/performance/PerformanceCommonsOgnlTest.java?rev=1187643&r1=1187642&r2=1187643&view=diff
==============================================================================
--- commons/proper/ognl/performance-analysis/src/test/java/org/apache/commons/ognl/performance/PerformanceCommonsOgnlTest.java (original)
+++ commons/proper/ognl/performance-analysis/src/test/java/org/apache/commons/ognl/performance/PerformanceCommonsOgnlTest.java Sat Oct 22 02:21:33 2011
@@ -69,7 +69,7 @@ public class PerformanceCommonsOgnlTest
     public void constructorCache( )
         throws Exception
     {
-        new GetConstructorsInvocation( runtimeWrapper );
+        new GetConstructorsInvocation( runtimeWrapper, 50000 );
     }
 
     @BenchmarkOptions( benchmarkRounds = 50, warmupRounds = 0, concurrency = 1000 )
@@ -86,7 +86,7 @@ public class PerformanceCommonsOgnlTest
     public void fieldCache( )
         throws Exception
     {
-        new FieldInvocation( runtimeWrapper );
+        new FieldInvocation( runtimeWrapper, 50000 );
     }
 
     @BenchmarkOptions( benchmarkRounds = 50, warmupRounds = 0, concurrency = 1000 )
@@ -94,7 +94,7 @@ public class PerformanceCommonsOgnlTest
     public void findParameterTypeCache( )
         throws Exception
     {
-        new FindParameterTypesInvocation( runtimeWrapper, 200 );
+        new FindParameterTypesInvocation( runtimeWrapper, 100 );
     }
 
     @BenchmarkOptions( benchmarkRounds = 50, warmupRounds = 0, concurrency = 1000 )
@@ -102,7 +102,7 @@ public class PerformanceCommonsOgnlTest
     public void methodCache( )
         throws Exception
     {
-        new GetMethodsInvocation( runtimeWrapper );
+        new GetMethodsInvocation( runtimeWrapper, 20000 );
     }
 
     @BenchmarkOptions( benchmarkRounds = 50, warmupRounds = 0, concurrency = 1000 )