[vectorIntrinsics] RFR: 8263149: Adding benchmarks for Vector API [v3]
Xiaohong Gong
xgong at openjdk.java.net
Fri Mar 12 07:35:23 UTC 2021
On Fri, 12 Mar 2021 03:07:46 GMT, Wang Zhuo <wzhuo at openjdk.org> wrote:
>> Here are some code samples for panama-vector vectorIntrinsics JMH benchmarks.
>> These code were developed during our work on optimizing Alibaba applications with Vector API.
>> VectorDistance contains Cosine distance and Euclidean distance, scalar code from
>> https://github.com/opendistro-for-elasticsearch/k-NN/blob/aa5d1d40b136e2b3d33a14e80a2a374b2be015f9/src/main/java/com/amazon/opendistroforelasticsearch/knn/plugin/script/KNNScoringUtil.java#L61
>> In many scenarios, ElasticSearch engineers reported more than 4X E2E speedup using Vector API.
>>
>> BooleanArrayCheck and ValueRangeCheckAndCastL2I were from OLAP applications.
>>
>> Co-authored-by: Joshua Zhu <jzhu at openjdk.org>
>
> Wang Zhuo has refreshed the contents of this pull request, and previous commits have been removed. The incremental views will show differences compared to the previous content of the PR. The pull request contains one new commit since the last revision:
>
> 8263149: Adding some algorithms optimized by Vector API into JMH benchmarks
>
> Co-authored-by: Joshua Zhu <jzhu at openjdk.org>
Marked as reviewed by xgong (no project role).
-------------
PR: https://git.openjdk.java.net/panama-vector/pull/45
More information about the panama-dev
mailing list