Typo on jmh web page

Aleksey Shipilev aleksey.shipilev at oracle.com
Tue Jul 22 21:21:13 UTC 2014


Hi Sean,

On 07/23/2014 01:05 AM, Sean Mullan wrote:
> There's a typo/small error in the Basic usage section of
> http://openjdk.java.net/projects/code-tools/jmh/ . Where it says how to
> run the benchmark:
> 
> $ java -jar target/microbenchmarks.jar
> 
> I think it should be:
> 
> $ java -jar target/benchmarks.jar
> 
> The same typo occurs in the Advanced usage section. Was this jar renamed
> recently?

Thanks! Fixed now.

Yes, we renamed the JAR between 0.8 and 0.9. The JMH projects
bootstrapped from current archetypes will generate benchmarks.jar; any
other project from the past will follow the already existing build
scripts, and generate microbenchmarks.jar, if users are not doing any
other name.

We can probably expose the clean property in sample projects, which
would specify the uberjar name.

-Aleksey.



More information about the jmh-dev mailing list