-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
Optimize DefaultHasher siphash #130112
base: master
Are you sure you want to change the base?
Optimize DefaultHasher siphash #130112
Conversation
Co-authored-by: Noratrieb <48135649+Noratrieb@users.noreply.github.com>
@bors try @rust-timer queue |
This comment has been minimized.
This comment has been minimized.
…rr, r=<try> Optimize DefaultHasher siphash let's see how re-applying rust-lang#69152 again goes. imo this is a huge speedup that would be worth some compile time regressions, but i wanna see first. probably won't have the time and energy to argue for it though, if there are significant regressions ^^' cc `@nnethercote`
☀️ Try build successful - checks-actions |
This comment has been minimized.
This comment has been minimized.
Finished benchmarking commit (b6cd5d6): comparison URL. Overall result: ❌✅ regressions and improvements - ACTION NEEDEDBenchmarking this pull request likely means that it is perf-sensitive, so we're automatically marking it as not fit for rolling up. While you can manually mark this PR as fit for rollup, we strongly recommend not doing so since this PR may lead to changes in compiler perf. Next Steps: If you can justify the regressions found in this try perf run, please indicate this with @bors rollup=never Instruction countThis is a highly reliable metric that was used to determine the overall result at the top of this comment.
Max RSS (memory usage)Results (primary 1.4%, secondary 5.6%)This is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
CyclesResults (primary 1.3%, secondary 6.8%)This is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
Binary sizeResults (primary 0.1%)This is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
Bootstrap: 756.685s -> 757.535s (0.11%) |
The perf CI results show the slowdown this causes in compile times, which aren't great, but also aren't terrible. But they don't provide any measurements about the benefits of this change, because rustc doesn't use |
@Noratrieb can you work on the perf evidence that @nnethercote suggested? @rustbot author |
let's see how re-applying #69152 again goes.
imo this is a huge speedup that would be worth some compile time regressions, but i wanna see first. probably won't have the time and energy to argue for it though, if there are significant regressions ^^'
cc @nnethercote