-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
[perf experiment] Don't emit noalias for box when compiling rustc itself #99527
Conversation
This compiles rustc without noalias on box to evaluate the performance impact of such a change on a large scale project like rustc. Most importantly, this does NOT change the emitting of noalias when compiling crates other than rustc, to avoid perf impacts from LLVM having to process less attributes like in rust-lang#98017.
I guess the "r?" is a request for a perf run? |
Awaiting bors try build completion. @rustbot label: +S-waiting-on-perf |
⌛ Trying commit fd92015 with merge 0f733da0e9625176a5a6f82c73e1f78d08c44b88... |
Thanks! Let's see where this goes and whether there are regressions (or if I messed up the bootstrap :D) |
☀️ Try build successful - checks-actions |
Queued 0f733da0e9625176a5a6f82c73e1f78d08c44b88 with parent a7468c6, future comparison URL. |
Finished benchmarking commit (0f733da0e9625176a5a6f82c73e1f78d08c44b88): comparison url. Instruction countThis benchmark run did not return any relevant results for this metric. Max RSS (memory usage)Results
CyclesResults
If you disagree with this performance assessment, please file an issue in rust-lang/rustc-perf. Benchmarking 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 Footnotes |
That's pretty cool. Now we need to know whether there are benefits for other crates, I'd encourage anyone willing to help to run some ecosystem crates benchmarks with the |
I will now close this, as this was only a perf experiment. |
This compiles rustc without noalias on box to evaluate the performance impact of such a change on a large scale project like rustc.
Only add it for stage1 compiling stage2, since beta doesn't have the flag yet and stage2 is running the benchmarks.
Most importantly, this does NOT change the emitting of noalias when compiling crates other than rustc, to avoid perf impacts from LLVM having to process less attributes like in #98017.
r? @RalfJung