@Setup(Level.Invocation)

Ivan Gerasimov ivan.gerasimov at oracle.com
Thu Jul 10 08:54:22 UTC 2014


Thanks Aleksey!

Yes, it cleanly answers my question now.

Sincerely yours,
Ivan

On 09.07.2014 18:56, Aleksey Shipilev wrote:
> 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