RFR: 8273681: Add Vector API vs Arrays.mismatch intrinsic benchmark

Kartik Ohri github.com+27751938+amcap1712 at openjdk.java.net
Fri Sep 17 04:56:11 UTC 2021


On Mon, 13 Sep 2021 18:05:55 GMT, Paul Sandoz <psandoz at openjdk.org> wrote:

>> Hi all!
>> 
>> Please review this PR to add a benchmark comparing the performance of Arrays.mismatch intrinsic in the JDK with that of the Vector API. Kindly refer to this [thread] on panama-dev regarding some initial discussion about this benchmark. I have attached the [results] of the full benchmark run along with the [assembly] output of a shorter run I had done while analysing the results. The benchmarks were run against the latest build of panama-vector available from builds.shipilev.net.
>> 
>> Also, I have not added the copyright header to this file yet as I am an individual contributor (OCA signed) and do not know what to put there.
>> 
>> [thread]: https://mail.openjdk.java.net/pipermail/panama-dev/2021-September/014839.html
>> [results]: https://github.com/openjdk/jdk/files/7142452/results.csv
>> [assembly]:  https://github.com/openjdk/jdk/files/7142362/benchmarks.txt
>> 
>> Regards,
>> Kartik
>
> The simplest approach is to copy the license from here https://github.com/openjdk/jdk/blob/master/test/micro/org/openjdk/bench/jdk/incubator/vector/RotateBenchmark.java

Thanks for the review, @PaulSandoz

-------------

PR: https://git.openjdk.java.net/jdk/pull/5459


More information about the core-libs-dev mailing list