[vectorIntrinsics+compress] RFR: 8274975: Add micro benchmark: ALIBABA selective store use case

Eric Liu eliu at openjdk.java.net
Sat Oct 9 08:12:19 UTC 2021


On Fri, 8 Oct 2021 12:22:33 GMT, Joshua Zhu <jzhu at openjdk.org> wrote:

> I separate my implementation of "compress" API into several patches for easy review.
> This micro benchmark is extracted from the real use case inside in-memory databases: selectiveStore.
> Test scenario: UseAVX=3; thread number = 8; conflict data percentage: 20% (that means 20% of mask bits are true)

test/micro/org/openjdk/bench/jdk/incubator/vector/bigdata/SelectiveStore.java line 163:

> 161:   @Benchmark
> 162:   @Threads(8)
> 163:   public void selectiveStore_verify(ThreadLocalData tld) {

Is it necessary to benchmark the correctness?

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

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


More information about the panama-dev mailing list