@Setup(Level.Invocation)
Aleksey Shipilev
aleksey.shipilev at oracle.com
Wed Jul 9 14:56:55 UTC 2014
On 07/09/2014 06:10 PM, Sergey Kuksenko wrote:
> Had you read Level.Invocation docs?
> I'll juct copy it here:
To Ivan's defense, that Javadoc is written hastily without the clear
explanation why. Hopefully fixed:
http://hg.openjdk.java.net/code-tools/jmh/rev/16caa87c4b0d
It also contains the answer to your exact question now, Ivan:
* <p>This level is only usable for benchmarks taking more than a
* millisecond per single {@link Benchmark} method invocation. It is
* a good idea to validate the impact for your case on ad-hoc basis
* as well.
-Aleksey.
More information about the jmh-dev
mailing list