Commit e88ebe87 authored by Eric Bruneton's avatar Eric Bruneton

Add a command line option to filter the benchmarks to execute.

parent 10011e5e
Pipeline #1427 passed with stage
in 6 minutes and 27 seconds
......@@ -103,6 +103,7 @@ project(':asm-xml') {
minCodeCoverage = 0.8
}
// Use "gradle benchmarks:jmh [-PjmhInclude='<regex>']" to run the benchmarks.
project(':benchmarks') {
description = "Benchmarks for ${rootProject.description}"
apply plugin: 'me.champeau.gradle.jmh'
......@@ -132,9 +133,12 @@ project(':benchmarks') {
}
classes.dependsOn "asm${version}"
}
jmh {
jmh {
jmhVersion = '1.19'
profilers = ['org.objectweb.asm.benchmarks.MemoryProfiler']
if (rootProject.hasProperty('jmhInclude')) {
include = [jmhInclude]
}
}
}
......
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