Closed jake-at-work closed 3 years ago
Adds --include and --threads parameters as POC to adding command line options to the jmh task.
--include
--threads
jmh
Usage:
./gradlew jmh --include=MyBenchmark --threads=10
Builds on top of the https://github.com/melix/jmh-gradle-plugin/pull/154 PR so ignore those commits. Look at https://github.com/melix/jmh-gradle-plugin/commit/b155f1616df6bd74a312d805456e35ed3a7e7e06.
If you like I can split these PRs and move forward on this one while discussing how to address the jar issues.
Coverage decreased (-0.5%) to 51.238% when pulling b155f1616df6bd74a312d805456e35ed3a7e7e06 on pivotal-jbarrett:feature/params into 3f5003df4ef40f565173ee4339a7cfa6452cbbdc on melix:master.
Adds
--include
and--threads
parameters as POC to adding command line options to thejmh
task.Usage:
Builds on top of the https://github.com/melix/jmh-gradle-plugin/pull/154 PR so ignore those commits. Look at https://github.com/melix/jmh-gradle-plugin/commit/b155f1616df6bd74a312d805456e35ed3a7e7e06.
If you like I can split these PRs and move forward on this one while discussing how to address the jar issues.