assertions for jmh performance test results

Vitaliy Semochkin vitaliy.se at gmail.com
Tue Dec 12 20:16:04 UTC 2017


Thank you very much.
Does it  provide an API so that a developer could get performance
metrics not from logging?
(If yes, it won't be difficult to write a JUnit test or a Rule).

On Tue, Dec 12, 2017 at 10:13 AM, Nitsan Wakart <nitsanw at yahoo.com> wrote:
> JMH does not offer this capability at the moment.
>
>
>
> On Monday, December 11, 2017 6:58 PM, Vitaliy Semochkin
> <vitaliy.se at gmail.com> wrote:
>
>
> Hi,
>
> Is there any way to create assertions for JMH performance test rests?
>
> E.g I expect avg time of execution to be no longer than T milliseconds
> and I want the test to fail if the expectation is not met.
>
> Regards,
> Vitaliy
>
>


More information about the jmh-dev mailing list