Uh oh!
There was an error while loading. Please reload this page.
ARROW-10304: [C++][Compute] Optimize variance kernel for integers - #8466
ARROW-10304: [C++][Compute] Optimize variance kernel for integers#8466cyb70289 wants to merge 1 commit into
Conversation
NOTE: Benchmark PR #8407 is not merged yet. Need to manually pull that PR to evaluation performance. Tested on Xeon Gold 5218, clang-9. |
Turn to draft. Will add 64bit integers optimization. |
cyb70289
commented
Oct 16, 2020
Added int64 optimization. Updated benchmark result. Ready for review. |
Uh oh!
There was an error while loading. Please reload this page.
Improve variance kernel performance for integers by leveraging textbook one pass algorithm and integer arithmetic.
pitrou
commented
Oct 21, 2020
Results on an AMD Zen 2 CPU: I'm curious why Int64 would be faster than Double. Aren't they using the same algorithm? (and Int64 goes through an additional int-to-float conversion for each value) |
There's no int-to-float conversion in Int64 summation loop (sum to Int128). It's faster than double summation. |
pitrou
commented
Oct 22, 2020
Ah, I hadn't noticed the |
Improve variance kernel performance for integers by leveraging
textbook one pass algorithm and integer arithmetic.