[vectorIntrinsics] Integrated: Add utf8 decoding benchmarks

Ludovic Henry luhenry at openjdk.java.net
Fri Nov 27 03:59:03 UTC 2020


On Tue, 24 Nov 2020 00:46:37 GMT, Ludovic Henry <luhenry at openjdk.org> wrote:

> Following discussions on the mailing list, I'm submitting three benchmarks around UTF-8 decoding:
>  - decode: uses a while-loop based implementation currently in use in the JDK
>  - decodeVector: uses a lookup table with vector operations for 1-3 bytes characters
>  - decodeVectorASCII: uses a simple vector operation to accelerate parsing ASCII-only characters
> 
> We don't observe the expected speedups with either decodeVector and decodeVectorASCII, so these are, I think, good test cases to further develop the Vector API.

This pull request has now been integrated.

Changeset: c1cc01ac
Author:    Ludovic Henry <luhenry at openjdk.org>
Committer: Sandhya Viswanathan <sviswanathan at openjdk.org>
URL:       https://git.openjdk.java.net/panama-vector/commit/c1cc01ac
Stats:     589 lines in 1 file changed: 589 ins; 0 del; 0 mod

Add utf8 decoding benchmarks

Reviewed-by: sviswanathan

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

PR: https://git.openjdk.java.net/panama-vector/pull/26


More information about the panama-dev mailing list