-
-
Notifications
You must be signed in to change notification settings - Fork 5.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
Switch to FxHasher hash function in int64hash and bitmix #52496
Conversation
To get doctests passing I can either make this code use the old hash function Lines 22 to 27 in eba10dd
|
We generally don't guarantee stable hashes across minor versions so just changing the doctests should be fine |
6e19f27
to
d34a0a1
Compare
@nanosoldier |
It seems performance has regressed significantly since the first commit, at least locally. |
Your benchmark job has completed - possible performance regressions were detected. A full report can be found here. |
A good benchmark would be the time it takes to build |
e1b6f7a
to
d43b9a1
Compare
I've had trouble getting reproducible benchmarks results but I'm fairly confident this pr should now be an improvement on the allinference benchmarks against master. As for the time taken to build corecompiler.ji and the sysimage I didn't notice a difference when running |
This reverts commit 62d5814.
This reverts commit 841185a. Using bitmix is incorrect, as on 64 bit systems bitmix uses the 64 bit version of FxHasher. Also possibly a performance regression.
This reverts commit 80ee622. We have a perf regression since first commit, I've had trouble getting reliable benchmarking results so reverting this in case this caused a regression.
d43b9a1
to
cd4c983
Compare
Co-authored-by: Stefan Karpinski <[email protected]>
Coming back to this, I only see small (~5%) regressions. Not sure how I ever saw improvements. |
This pr switches the current hash function to FxHasher as discussed in #52440.
On the allinference benchmarks in BaseBenchmarks I didn't see any regressions and generally a 5% performance improvement.