melix / jmh-gradle-plugin

Integrates the JMH benchmarking framework with Gradle
Apache License 2.0
666 stars 88 forks source link

POC to add parameters to JMHTask #155

Closed jake-at-work closed 3 years ago

jake-at-work commented 5 years ago

Adds --include and --threads parameters as POC to adding command line options to the jmh task.

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.

coveralls commented 5 years ago

Coverage Status

Coverage decreased (-0.5%) to 51.238% when pulling b155f1616df6bd74a312d805456e35ed3a7e7e06 on pivotal-jbarrett:feature/params into 3f5003df4ef40f565173ee4339a7cfa6452cbbdc on melix:master.