melix / jmh-gradle-plugin

Integrates the JMH benchmarking framework with Gradle

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add ability to specifcy JMH command line options via gradle's --args option

Flowdalic opened this issue · comments

Gradle's application plugin allows command line arguments to be passed via --args. For example

$ gradle run --args="foo --bar"

It would be great if the jmh tasks would accept those as well and pass them to jmh

$ gradle jmh --args="-p fibNum=42"