-
Notifications
You must be signed in to change notification settings - Fork 13.1k
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
Default to sha256 for hashing source files #116043
Conversation
@bors try @rust-timer queue |
This comment has been minimized.
This comment has been minimized.
Default to sha256 for hashing source files r? `@ghost`
☀️ Try build successful - checks-actions |
This comment has been minimized.
This comment has been minimized.
Would it be worth testing blake3 as well, to see if it helps with performance? |
Finished benchmarking commit (e41bdac): comparison URL. Overall result: ✅ improvements - no 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. @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)ResultsThis 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.
CyclesThis benchmark run did not return any relevant results for this metric. Binary sizeThis benchmark run did not return any relevant results for this metric. Bootstrap: 634.138s -> 631.491s (-0.42%) |
I tested blake3 a few months ago. There were small-ish perf. wins, but it didn't seem worth it in the grand scheme of things to introduce a new dependency. But I haven't run the whole perf. suite on it, just a few local experiments. |
I would ask why this was previously msvc only? If there was a reason for excluding other platforms then it'd be good to know if those reasons have been solved or if they're still outstanding. |
If this can be landed, it would need a lot of other improvements outside of rustc itself first. Maybe I'll poke DWARF about this; if MD5 isn't good enough for Microsoft I don't see why it should be good enough for DWARF. |
r? @ghost