-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ARROW-6385: [C++] Use xxh3 instead of custom hashing code for non-tiny strings #5265
Conversation
Benchmarks on Ubuntu 18.04 with gcc 7.4 (x86-64):
|
Benchmarks on Ubuntu 18.04 with clang 7.0 (x86-64):
|
@ursabot benchmark --benchmark-filter=Hash |
AMD64 Ubuntu 18.04 C++ Benchmark (#58316) builder has been succeeded. Revision: f3275a1 ================= =========== =========== =========
benchmark baseline contender change
================= =========== =========== =========
HashMediumStrings 6.25091e+09 6.36296e+09 0.017926
HashIntegers 8.59461e+09 8.81482e+09 0.0256215
HashSmallStrings 2.45542e+09 2.48164e+09 0.0106789
HashLargeStrings 1.17633e+10 1.19911e+10 0.0193699
================= =========== =========== ========= |
Hmm... the almost identical numbers reported by ursabot seem a bit unlikely, since we're completely changing algorithms here. @fsaintjacques |
Looks like some MSVC warnings need to be suppressed |
…trings This yields better performance in addition to relying on less custom code.
f3275a1
to
ce7f938
Compare
Done. |
Codecov Report
@@ Coverage Diff @@
## master #5265 +/- ##
=========================================
Coverage ? 89.22%
=========================================
Files ? 635
Lines ? 83654
Branches ? 0
=========================================
Hits ? 74640
Misses ? 9014
Partials ? 0
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1
This yields better performance in addition to relying on less custom code.