Re: RFR: 8303401: Add a Vector API equalsIgnoreCase micro benchmark [v7]

2023-03-01 Thread Eirik Bjorsnos
On Wed, 1 Mar 2023 17:47:45 GMT, Paul Sandoz wrote: > Benchmark looks good. > > I think you need to look at the generated code and perf data to get more > insight into the differences you are observing. > > Sometimes array alignment can add variance to the results (which may not be > the

Re: RFR: 8303401: Add a Vector API equalsIgnoreCase micro benchmark [v7]

2023-03-01 Thread Eirik Bjorsnos
On Wed, 1 Mar 2023 17:42:16 GMT, Paul Sandoz wrote: >> Eirik Bjorsnos has updated the pull request incrementally with one >> additional commit since the last revision: >> >> Use GT, LT, EQ operations since they seem to outperform GE, LE, NE. > >

Re: RFR: 8303401: Add a Vector API equalsIgnoreCase micro benchmark [v7]

2023-03-01 Thread Paul Sandoz
On Wed, 1 Mar 2023 14:28:55 GMT, Eirik Bjorsnos wrote: >> This PR suggests we add a vectorized equalsIgnoreCase benchmark to the set >> of benchmarks in `org.openjdk.bench.jdk.incubator.vector`. This benchmark >> serves as an example of how vectorization can be useful also in the area of >>

Re: RFR: 8303401: Add a Vector API equalsIgnoreCase micro benchmark [v7]

2023-03-01 Thread Eirik Bjorsnos
> This PR suggests we add a vectorized equalsIgnoreCase benchmark to the set of > benchmarks in `org.openjdk.bench.jdk.incubator.vector`. This benchmark serves > as an example of how vectorization can be useful also in the area of text > processing. It takes advantage of the fact that ASCII and