Withdrawn: 7903450: JMH: Improve -prof perfnorm accuracy with robust estimations
Aleksey Shipilev
shade at openjdk.org
Tue Jul 25 17:03:08 UTC 2023
On Mon, 24 Jul 2023 17:20:20 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:
> If we measure the mostly-idle workload, like the sleep-wait:
> while (target > System.nanoTime()) Thread.sleep(1000);
>
> ...then the `-prof perfnorm` measurement would mostly contain the iteration prologs/epilogs, which take orders of magnitude more cycles than the sleep itself. This can be alleviated by using a more robust estimator in perfnorm. The estimator can filter out the "outliers" caused by infrastructural overhead.
This pull request has been closed without being integrated.
-------------
PR: https://git.openjdk.org/jmh/pull/114
More information about the jmh-dev
mailing list