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/11/23 16:57:47 UTC
svn commit: r1205464 - in /commons/proper/ognl/trunk/src:
benchmarks/java/org/apache/commons/ognl/performance/ site/
Author: mcucchiara
Date: Wed Nov 23 15:57:46 2011
New Revision: 1205464
URL: http://svn.apache.org/viewvc?rev=1205464&view=rev
Log:
OGNL-36 - Renamed benchmark file names
Modified:
commons/proper/ognl/trunk/src/benchmarks/java/org/apache/commons/ognl/performance/BasePerformanceTest.java
commons/proper/ognl/trunk/src/benchmarks/java/org/apache/commons/ognl/performance/PerformanceCommonsOgnlTest.java
commons/proper/ognl/trunk/src/benchmarks/java/org/apache/commons/ognl/performance/PerformanceOldOgnlTest.java
commons/proper/ognl/trunk/src/site/site.xml
Modified: commons/proper/ognl/trunk/src/benchmarks/java/org/apache/commons/ognl/performance/BasePerformanceTest.java
URL: http://svn.apache.org/viewvc/commons/proper/ognl/trunk/src/benchmarks/java/org/apache/commons/ognl/performance/BasePerformanceTest.java?rev=1205464&r1=1205463&r2=1205464&view=diff
==============================================================================
--- commons/proper/ognl/trunk/src/benchmarks/java/org/apache/commons/ognl/performance/BasePerformanceTest.java (original)
+++ commons/proper/ognl/trunk/src/benchmarks/java/org/apache/commons/ognl/performance/BasePerformanceTest.java Wed Nov 23 15:57:46 2011
@@ -24,7 +24,8 @@ package org.apache.commons.ognl.performa
import com.carrotsearch.junitbenchmarks.BenchmarkOptions;
import com.carrotsearch.junitbenchmarks.BenchmarkRule;
import com.carrotsearch.junitbenchmarks.annotation.AxisRange;
-import com.carrotsearch.junitbenchmarks.annotation.BenchmarkMethodChart;
+import com.carrotsearch.junitbenchmarks.annotation.BenchmarkHistoryChart;
+import com.carrotsearch.junitbenchmarks.annotation.LabelType;
import org.apache.commons.ognl.performance.invocation.CompilerInvocation;
import org.apache.commons.ognl.performance.invocation.FieldInvocation;
import org.apache.commons.ognl.performance.invocation.FindParameterTypesInvocation;
@@ -47,7 +48,7 @@ import org.junit.rules.MethodRule;
* Time: 10:25 AM
*/
@AxisRange( min = 0, max = 1 )
-@BenchmarkMethodChart( filePrefix = "benchmark-ognl" )
+@BenchmarkHistoryChart( labelWith = LabelType.CUSTOM_KEY, maxRuns = 20 )
public abstract class BasePerformanceTest
{
@Rule
Modified: commons/proper/ognl/trunk/src/benchmarks/java/org/apache/commons/ognl/performance/PerformanceCommonsOgnlTest.java
URL: http://svn.apache.org/viewvc/commons/proper/ognl/trunk/src/benchmarks/java/org/apache/commons/ognl/performance/PerformanceCommonsOgnlTest.java?rev=1205464&r1=1205463&r2=1205464&view=diff
==============================================================================
--- commons/proper/ognl/trunk/src/benchmarks/java/org/apache/commons/ognl/performance/PerformanceCommonsOgnlTest.java (original)
+++ commons/proper/ognl/trunk/src/benchmarks/java/org/apache/commons/ognl/performance/PerformanceCommonsOgnlTest.java Wed Nov 23 15:57:46 2011
@@ -21,10 +21,7 @@
package org.apache.commons.ognl.performance;
-import com.carrotsearch.junitbenchmarks.annotation.AxisRange;
-import com.carrotsearch.junitbenchmarks.annotation.BenchmarkHistoryChart;
import com.carrotsearch.junitbenchmarks.annotation.BenchmarkMethodChart;
-import com.carrotsearch.junitbenchmarks.annotation.LabelType;
import org.junit.AfterClass;
import org.junit.BeforeClass;
@@ -34,9 +31,7 @@ import org.junit.BeforeClass;
* Time: 12:49 AM
*/
-@AxisRange( min = 0, max = 1 )
-@BenchmarkMethodChart( filePrefix = "benchmark-commons-ognl" )
-@BenchmarkHistoryChart( labelWith = LabelType.CUSTOM_KEY, maxRuns = 20 )
+@BenchmarkMethodChart( filePrefix = "benchmark" )
public class PerformanceCommonsOgnlTest
extends BasePerformanceTest
{
Modified: commons/proper/ognl/trunk/src/benchmarks/java/org/apache/commons/ognl/performance/PerformanceOldOgnlTest.java
URL: http://svn.apache.org/viewvc/commons/proper/ognl/trunk/src/benchmarks/java/org/apache/commons/ognl/performance/PerformanceOldOgnlTest.java?rev=1205464&r1=1205463&r2=1205464&view=diff
==============================================================================
--- commons/proper/ognl/trunk/src/benchmarks/java/org/apache/commons/ognl/performance/PerformanceOldOgnlTest.java (original)
+++ commons/proper/ognl/trunk/src/benchmarks/java/org/apache/commons/ognl/performance/PerformanceOldOgnlTest.java Wed Nov 23 15:57:46 2011
@@ -21,10 +21,7 @@
package org.apache.commons.ognl.performance;
-import com.carrotsearch.junitbenchmarks.annotation.AxisRange;
-import com.carrotsearch.junitbenchmarks.annotation.BenchmarkHistoryChart;
import com.carrotsearch.junitbenchmarks.annotation.BenchmarkMethodChart;
-import com.carrotsearch.junitbenchmarks.annotation.LabelType;
import org.junit.AfterClass;
import org.junit.BeforeClass;
@@ -34,9 +31,7 @@ import org.junit.BeforeClass;
* Time: 12:49 AM
*/
-@AxisRange( min = 0, max = 1 )
-@BenchmarkMethodChart( filePrefix = "benchmark-old-ognl" )
-@BenchmarkHistoryChart( labelWith = LabelType.CUSTOM_KEY, maxRuns = 20 )
+@BenchmarkMethodChart( filePrefix = "benchmark-legacy" )
public class PerformanceOldOgnlTest
extends BasePerformanceTest
{
Modified: commons/proper/ognl/trunk/src/site/site.xml
URL: http://svn.apache.org/viewvc/commons/proper/ognl/trunk/src/site/site.xml?rev=1205464&r1=1205463&r2=1205464&view=diff
==============================================================================
--- commons/proper/ognl/trunk/src/site/site.xml (original)
+++ commons/proper/ognl/trunk/src/site/site.xml Wed Nov 23 15:57:46 2011
@@ -30,7 +30,7 @@
<!--<item name="Release Notes (4.0-incubating)" href="http://www.apache.org/dist/commons/ognl/RELEASE-NOTES.txt" />-->
<item name="Language Guide" href="/language-guide.html" />
<item name="Developer Guide" href="/developer-guide.html" />
- <item name="Benchmarks" href="/benchmark-commons-ognl.html" />
+ <item name="Benchmarks" href="/benchmark.html" />
</menu>
<menu name="Development">