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

Kartik Ohri github.com+27751938+amcap1712 at openjdk.java.net
Thu Sep 16 19:40:19 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
> 
> Regards,
> Kartik

Kartik Ohri has updated the pull request incrementally with one additional commit since the last revision:

  Update benchmark according to code review

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/5459/files
  - new: https://git.openjdk.java.net/jdk/pull/5459/files/cf9328a4..b0577807

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=5459&range=01
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=5459&range=00-01

  Stats: 54 lines in 1 file changed: 26 ins; 10 del; 18 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