adding think time in jmh

Dawid Weiss dawid.weiss at gmail.com
Wed Jun 2 06:39:49 UTC 2021


I agree a think time option is needed for everyone using JMH:

System.out.println("Do you really understand micro-benchmarking and would
like to proceed?");
waitForConfirmation();

:)

If you mean warmup then warmupIterations should be your friend.

D.

On Wed, Jun 2, 2021 at 8:33 AM Sarath Babu <sarath.chalasani46 at gmail.com>
wrote:

> Hi Team,
> Is there any way we can add think time in jmh? if yes can you please give
> me a syntax or example to add think time.
>
>
> *******************
> Thanks and Regards
> *C.Sarathbabu*
> *Cont No: 9652511597*
>


More information about the jmh-dev mailing list