commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1241063 - /commons/sandbox/graph/trunk/src/benchmarks/java/org/apache/commons/graph/spanning/MinimumSpanningTreeBenchmark.java
Date Mon, 06 Feb 2012 16:27:57 GMT
Author: simonetripodi
Date: Mon Feb  6 16:27:57 2012
New Revision: 1241063

URL: http://svn.apache.org/viewvc?rev=1241063&view=rev
Log:
plugged annotations to run draw benchmark charts

Modified:
    commons/sandbox/graph/trunk/src/benchmarks/java/org/apache/commons/graph/spanning/MinimumSpanningTreeBenchmark.java

Modified: commons/sandbox/graph/trunk/src/benchmarks/java/org/apache/commons/graph/spanning/MinimumSpanningTreeBenchmark.java
URL: http://svn.apache.org/viewvc/commons/sandbox/graph/trunk/src/benchmarks/java/org/apache/commons/graph/spanning/MinimumSpanningTreeBenchmark.java?rev=1241063&r1=1241062&r2=1241063&view=diff
==============================================================================
--- commons/sandbox/graph/trunk/src/benchmarks/java/org/apache/commons/graph/spanning/MinimumSpanningTreeBenchmark.java
(original)
+++ commons/sandbox/graph/trunk/src/benchmarks/java/org/apache/commons/graph/spanning/MinimumSpanningTreeBenchmark.java
Mon Feb  6 16:27:57 2012
@@ -35,7 +35,11 @@ import org.junit.Rule;
 import org.junit.Test;
 
 import com.carrotsearch.junitbenchmarks.BenchmarkRule;
+import com.carrotsearch.junitbenchmarks.annotation.AxisRange;
+import com.carrotsearch.junitbenchmarks.annotation.BenchmarkMethodChart;
 
+@AxisRange( min = 0, max = 2 )
+@BenchmarkMethodChart( filePrefix = "minimum-spanning-tree" )
 public final class MinimumSpanningTreeBenchmark
 {
 



Mime
View raw message