Permalink
Browse files

add some graphs with junit-benchmarks: failed a bit currently

git-svn-id: https://svn.apache.org/repos/asf/maven/sandbox/trunk@1186721 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information...
1 parent 007a293 commit 07a780c304616a4fb0ea464447f649e0e1ff1d3c @olamy olamy committed Oct 20, 2011
View
@@ -8,3 +8,4 @@ target
.settings
result.txt
+.DS_Store
@@ -125,6 +125,11 @@ under the License.
<artifactId>junit-benchmarks</artifactId>
<version>0.3.0-SNAPSHOT</version>
</dependency>
+ <dependency>
+ <groupId>com.h2database</groupId>
+ <artifactId>h2</artifactId>
+ <version>1.3.158</version>
+ </dependency>
</dependencies>
</dependencyManagement>
@@ -56,6 +56,10 @@ under the License.
<artifactId>junit-benchmarks</artifactId>
</dependency>
<dependency>
+ <groupId>com.h2database</groupId>
+ <artifactId>h2</artifactId>
+ </dependency>
+ <dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
</dependency>
@@ -49,9 +49,9 @@
* @author Olivier Lamy
*/
@AxisRange( min = 0, max = 1 )
-@BenchmarkMethodChart()
+@BenchmarkMethodChart( filePrefix = "../benchmark-result" )
@BenchmarkHistoryChart( labelWith = LabelType.CUSTOM_KEY, maxRuns = 5 )
-@BenchmarkOptions( benchmarkRounds = 1, warmupRounds = 1, concurrency = 2 )
+@BenchmarkOptions( benchmarkRounds = 2, warmupRounds = 1, concurrency = 2 )
public abstract class AbstractWagonHttpClientTest
extends AbstractWagonClientTest
{
@@ -78,6 +78,9 @@ public static void createResultFile()
}
resultWriter = new FileWriter( resultFile, true );
+
+ //System.setProperty( "jub.consumers", "CONSOLE,H2" );
+ //System.setProperty( "jub.db.file", new File( "../.benchmarks" ).getAbsolutePath() );
}

0 comments on commit 07a780c

Please sign in to comment.