Commit 27b871af authored by Noric Couderc's avatar Noric Couderc

Changed jmh configuration

This change is most likely temporary
parent ff527fd3
......@@ -7,8 +7,6 @@
* user guide available at https://docs.gradle.org/2.10/userguide/tutorial_java_projects.html
*/
// Apply the java plugin to add support for Java
buildscript {
ext.kotlin_version = '1.3.11'
......@@ -43,16 +41,20 @@ jmh {
// We take single shot time (just run the benchmark once)
// Mode of the benchmark in ['avgt', 'sample', 'thrpt', 'ss', 'all']
// benchmarkMode = ['ss']
resultFormat = 'JSON'
resultsFile = project.file('jmh-results.json')
include = ["List"]
resultFormat = 'CSV'
resultsFile = project.file('jmh-results.csv')
warmupIterations = 3
warmup = '1s'
warmup = '500ms'
fork = 1
iterations = 10
iterations = 5
// Minimum time to spend at each measurement iteration
timeOnIteration = '1s'
// benchmarkParameters = [seed: ['0', '1']]
timeOnIteration = '250ms'
benchmarkParameters = [seed: (0..10)*.toString(),
applicationSize: [10, 100, 1000]*.toString(),
baseStructureSize: [0, 1000, 10000]*.toString()]
// humanOutputFile = project.file("output-perf.txt")
}
task benchmarkJar(type: Jar, dependsOn: jmhJar) {
manifest {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment