RFR: 8303401: Add a Vector API equalsIgnoreCase micro benchmark [v7]
Eirik Bjorsnos
duke at openjdk.org
Wed Mar 1 17:55:17 UTC 2023
On Wed, 1 Mar 2023 17:47:45 GMT, Paul Sandoz <psandoz at openjdk.org> wrote:
> Benchmark looks good.
>
> I think you need to look at the generated code and perf data to get more insight into the differences you are observing.
>
> Sometimes array alignment can add variance to the results (which may not be the case here), and to rule that out i sometimes run vector tests with the HotSpot option `-XX:ObjectAlignmentInBytes` e.g. `-XX:ObjectAlignmentInBytes=32`.
Thanks for the review and also your suggestions on how to get to the bottom of this. If I choose to investigate this further, it will be outside this PR.
-------------
PR: https://git.openjdk.org/jdk/pull/12790
More information about the core-libs-dev
mailing list