-
Notifications
You must be signed in to change notification settings - Fork 13.4k
[dont merge] Revert "Inline a few functions." #103467
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
[dont merge] Revert "Inline a few functions." #103467
Conversation
r? @lcnr (rust-highfive has picked a reviewer for you, use r? to override) |
@bors try @rust-timer queue |
Awaiting bors try build completion. @rustbot label: +S-waiting-on-perf |
⌛ Trying commit ee995d7 with merge 7ce8c599c552a56995b2e312dc926d58f92f80ee... |
☀️ Try build successful - checks-actions |
Queued 7ce8c599c552a56995b2e312dc926d58f92f80ee with parent 56f1325, future comparison URL. |
Finished benchmarking commit (7ce8c599c552a56995b2e312dc926d58f92f80ee): 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. Footnotes |
Nevermind the improvements, the previous I don't think that this should be merged, but anyway CCing @nnethercote. |
Given that LTO for rustc is Linux only, we should definitely not land this. But it's an interesting experiment nonetheless! |
I agree. Closing. |
Reverts #102387
Now that we have LTO for
rustc
, I want to try if it can make some of the recent "adhoc"#[inline]
sprinkling redundant.This PR had a very nice win and no regressions, so let's see what happens if we revert it with LTO being turned on.