[vectorIntrinsics+compress] RFR: 8274975: Add micro benchmark: ALIBABA selective store use case
Joshua Zhu
jzhu at openjdk.java.net
Sat Oct 9 08:19:22 UTC 2021
On Sat, 9 Oct 2021 08:06:36 GMT, Eric Liu <eliu 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?
Thanks Eric for your review :-)
This function was imported to ensure compress API's correctness during my development process.
I will remove this function as your suggestion after all dependent patches are merged.
-------------
PR: https://git.openjdk.java.net/panama-vector/pull/149
More information about the panama-dev
mailing list