-
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
rustdoc: Box GenericArg::Const
to reduce enum size
#88574
Conversation
(It's blocked because they change similar code and I think that could cause the results to be spurious.) |
#88522 has been merged successfully and no rebase seems to be needed. So let's go? |
Yeah, I forgot that CI rebases before testing, but I'll still rebase just in case :) |
e12171d
to
3b61d37
Compare
@bors try @rust-timer queue |
Awaiting bors try build completion. @rustbot label: +S-waiting-on-perf |
⌛ Trying commit 3b61d37a27214aacc220e8eb6c37c176e8617832 with merge 459a20808114e18608987a33b457c76d3ffa7a17... |
☀️ Try build successful - checks-actions |
Queued 459a20808114e18608987a33b457c76d3ffa7a17 with parent fcce644, future comparison URL. |
Finished benchmarking try commit (459a20808114e18608987a33b457c76d3ffa7a17): comparison url. Summary: This change led to small relevant mixed results 🤷 in compiler performance.
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 led to changes in compiler perf. Next Steps: If you can justify the regressions found in this perf run, please indicate this with @bors rollup=never |
I'm pretty sure those regressions that rust-timer is reporting are spurious, because they are for non-doc builds, which shouldn't be affected at all by this change. No significant changes in |
@bors try @rust-timer queue Let's see if they reproduce, perhaps? But seem likely to not be related to this PR. |
Awaiting bors try build completion. @rustbot label: +S-waiting-on-perf |
⌛ Trying commit 3b61d37a27214aacc220e8eb6c37c176e8617832 with merge d19374152c9e11c22593659de62dfacd47145920... |
☀️ Try build successful - checks-actions |
Queued d19374152c9e11c22593659de62dfacd47145920 with parent b834c4c, future comparison URL. |
Finished benchmarking try commit (d19374152c9e11c22593659de62dfacd47145920): comparison url. Summary: This change led to small relevant mixed results 🤷 in compiler performance.
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 led to changes in compiler perf. Next Steps: If you can justify the regressions found in this perf run, please indicate this with @bors rollup=never |
Should we add a |
Seems pretty likely that these rustc regressions and rustc improvements are spurious, because they shouldn't be affected by this change and because in the first run, it reported
but on this run, it reported:
Removing the perf-regression label then. |
|
Aside from that, significant improvements ranged from 0.3% to 1%. serde-doc improved by the exact same amount both runs too (1.03%). |
Yeah, that's probably a good idea. |
3b61d37
to
5c0e6c1
Compare
Ok, done! |
Thanks! @bors: r+ rollup |
📌 Commit 5c0e6c1 has been approved by |
@bors rollup- This affects performance. |
@bors rollup=never |
☀️ Test successful - checks-actions |
This should reduce the amount of memory allocated in the common cases
where the
GenericArg
is a lifetime or type.