melix / jmh-gradle-plugin

Integrates the JMH benchmarking framework with Gradle
Apache License 2.0
676 stars 87 forks source link

Issue with benchmarkMode? #73

Closed srangwal closed 8 years ago

srangwal commented 8 years ago

When I use

  benchmarkMode = ['thrpt','ss']

I get

Exception in thread "main" java.lang.IllegalStateException: Unable to parse benchmark mode: "[thrpt"
Known values are [Throughput/thrpt, AverageTime/avgt, SampleTime/sample, SingleShotTime/ss, All/all]
    at org.openjdk.jmh.annotations.Mode.deepValueOf(Mode.java:124)
    at org.openjdk.jmh.runner.options.CommandLineOptions.<init>(CommandLineOptions.java:314)
    at org.openjdk.jmh.Main.main(Main.java:41)
aalmiray commented 8 years ago

Fixed with #74