Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
Description
Currently we can run all JMH benchmarks of the project using the "jmh" Gradle task.
./gradlew :ubenchmark:jmh
In many cases, we don't want to run all benchmarks but only one (or few) and this is not possible without modifying the Gradle build files (see https://github.com/melix/jmh-gradle-plugin/issues/152).
The goal of this ticket is to add a (project) property (i.e., jmh.includes) to select the desired benchmarks via a regular expression that can be passed in the command line.
./gradlew :ubenchmark:jmh -Pjmh.includes=ParserBenchmark
For example, the command above would run only the ParserBenchmark.
Attachments
Issue Links
- links to