You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2020/07/31 07:29:47 UTC
[GitHub] [arrow] jianxind commented on pull request #7871: ARROW-9605: [C++] Speed up aggregate min/max compute kernels on integer types
jianxind commented on pull request #7871:
URL: https://github.com/apache/arrow/pull/7871#issuecomment-666978438
I can trigger a benchmark action once https://github.com/apache/arrow/pull/7870 get merged.
Below is the BM data for int types on my setup:
```
Before:
MinMaxKernelInt8/1048576/10000 847 us 845 us 828 bytes_per_second=1.15586G/s null_percent=0.01 size=1048.58k
MinMaxKernelInt8/1048576/0 43.9 us 43.8 us 15738 bytes_per_second=22.294G/s null_percent=0 size=1048.58k
MinMaxKernelInt16/1048576/10000 429 us 428 us 1637 bytes_per_second=2.28348G/s null_percent=0.01 size=1048.58k
MinMaxKernelInt16/1048576/0 42.4 us 42.4 us 15878 bytes_per_second=23.0572G/s null_percent=0 size=1048.58k
MinMaxKernelInt32/1048576/10000 295 us 294 us 2383 bytes_per_second=3.31751G/s null_percent=0.01 size=1048.58k
MinMaxKernelInt32/1048576/0 42.1 us 42.0 us 16620 bytes_per_second=23.2245G/s null_percent=0 size=1048.58k
MinMaxKernelInt64/1048576/10000 112 us 112 us 6309 bytes_per_second=8.70966G/s null_percent=0.01 size=1048.58k
MinMaxKernelInt64/1048576/0 82.2 us 82.1 us 8537 bytes_per_second=11.8992G/s null_percent=0 size=1048.58k
After(AVX2):
MinMaxKernelInt8/1048576/10000 92.9 us 92.6 us 7568 bytes_per_second=10.5421G/s null_percent=0.01 size=1048.58k
MinMaxKernelInt8/1048576/0 31.3 us 31.2 us 21832 bytes_per_second=31.2619G/s null_percent=0 size=1048.58k
MinMaxKernelInt16/1048576/10000 60.7 us 60.5 us 11501 bytes_per_second=16.1388G/s null_percent=0.01 size=1048.58k
MinMaxKernelInt16/1048576/0 31.5 us 31.4 us 22316 bytes_per_second=31.1085G/s null_percent=0 size=1048.58k
MinMaxKernelInt32/1048576/10000 51.0 us 50.9 us 13841 bytes_per_second=19.1853G/s null_percent=0.01 size=1048.58k
MinMaxKernelInt32/1048576/0 31.8 us 31.7 us 22111 bytes_per_second=30.8189G/s null_percent=0 size=1048.58k
MinMaxKernelInt64/1048576/10000 61.1 us 61.0 us 11610 bytes_per_second=16.016G/s null_percent=0.01 size=1048.58k
MinMaxKernelInt64/1048576/0 54.2 us 54.1 us 12935 bytes_per_second=18.0651G/s null_percent=0 size=1048.58k
AVX512:
MinMaxKernelInt32/1048576/10000 40.9 us 40.8 us 17151 bytes_per_second=23.9207G/s null_percent=0.01 size=1048.58k
MinMaxKernelInt32/1048576/0 25.6 us 25.6 us 26669 bytes_per_second=38.2196G/s null_percent=0 size=1048.58k
MinMaxKernelInt64/1048576/10000 34.5 us 34.4 us 20137 bytes_per_second=28.396G/s null_percent=0.01 size=1048.58k
MinMaxKernelInt64/1048576/0 23.7 us 23.7 us 25949 bytes_per_second=41.2537G/s null_percent=0 size=1048.58k
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org