-
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
Use fat LTO for compiling rustc
#103453
Use fat LTO for compiling rustc
#103453
Conversation
@bors try @rust-timer queue |
Awaiting bors try build completion. @rustbot label: +S-waiting-on-perf |
⌛ Trying commit 7db05e6 with merge 39b1a70a9d4345df1de45aa5b15bea4a7c1fada2... |
💥 Test timed out |
@bors try @rust-timer queue |
Awaiting bors try build completion. @rustbot label: +S-waiting-on-perf |
⌛ Trying commit 7db05e6 with merge 50910d67cdb37f31fe3f5369110d3d6912116756... |
☀️ Try build successful - checks-actions |
Queued 50910d67cdb37f31fe3f5369110d3d6912116756 with parent 7feb003, future comparison URL. |
Finished benchmarking commit (50910d67cdb37f31fe3f5369110d3d6912116756): 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)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.
CyclesResultsThis 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.
Footnotes |
Hmm, these results almost look like LTO being turned off. |
Just a head-up that IMO this path is a dead end. Thin LTO is newer than FAT LTO and designed to enable more optimizations to be eventually be added. More info: |
Thanks, I will definitely check that out! I also think that this might not lead anywhere, fat LTO compiles very slowly and I haven't seen any incredible performance improvements so far. |
It doesn't seem like fat LTO is useful here at this moment. |
Based on earlier experiments, I think that this has a large effect on build time, but not so large effect on performance. Let's check.
r? @ghost