[vectorIntrinsics] Integrated: 8263149: Adding benchmarks for Vector API
Wang Zhuo
wzhuo at openjdk.java.net
Fri Mar 12 10:14:19 UTC 2021
On Mon, 8 Mar 2021 03:31:38 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>
This pull request has now been integrated.
Changeset: 51659814
Author: Wang Zhuo <wzhuo at openjdk.org>
URL: https://git.openjdk.java.net/panama-vector/commit/51659814
Stats: 780 lines in 3 files changed: 780 ins; 0 del; 0 mod
8263149: Adding benchmarks for Vector API
Reviewed-by: sviswanathan, njian, xgong
-------------
PR: https://git.openjdk.java.net/panama-vector/pull/45
More information about the panama-dev
mailing list