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

Kartik Ohri github.com+27751938+amcap1712 at openjdk.java.net
Mon Sep 13 17:57:24 UTC 2021

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



Commit messages:
 - Add Vector API vs Arrays.mismatch intrinsic benchmark

Changes: https://git.openjdk.java.net/jdk/pull/5459/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=5459&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8273681
  Stats: 213 lines in 1 file changed: 213 ins; 0 del; 0 mod
  Patch: https://git.openjdk.java.net/jdk/pull/5459.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/5459/head:pull/5459

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

More information about the core-libs-dev mailing list