-
Notifications
You must be signed in to change notification settings - Fork 13k
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: use ThinVec for cleaned generics #102928
Conversation
Some changes occurred in src/librustdoc/clean/types.rs cc @camelid |
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @CraftSpider (or someone else) soon. Please see the contribution instructions for more information. |
@bors try @rust-timer queue |
Awaiting bors try build completion. @rustbot label: +S-waiting-on-perf |
⌛ Trying commit 5b312b169d8148e6f52067f1bf28d8fea611ae18 with merge 234a079207af4dc967931c934e36a0c65cdaab6e... |
☀️ Try build successful - checks-actions |
Queued 234a079207af4dc967931c934e36a0c65cdaab6e with parent cde693c, future comparison URL. |
Finished benchmarking commit (234a079207af4dc967931c934e36a0c65cdaab6e): 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.
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 |
As expected, the three max-RSS improvements are to |
This comment has been minimized.
This comment has been minimized.
@bors try @rust-timer queue |
Awaiting bors try build completion. @rustbot label: +S-waiting-on-perf |
⌛ Trying commit 1265a4d7660f55c54849a04edef25e3523a8866f with merge 5a731b66e857fa59cdf13badedcf079f0b34e8be... |
Which types are shrunk by this change? We have a practice of using static assertions to check the size of often-instantiated types, e.g. here. It might be useful to do likewise here. |
☀️ Try build successful - checks-actions |
Queued 5a731b66e857fa59cdf13badedcf079f0b34e8be with parent 538f118, future comparison URL. |
@nnethercote |
Finished benchmarking commit (5a731b66e857fa59cdf13badedcf079f0b34e8be): 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.
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 |
This comment has been minimized.
This comment has been minimized.
Nice! @bors r+ rollup=iffy |
⌛ Testing commit eb29696 with merge 254797dfc7d500900b5cb4531b8f4f55d895e2c1... |
@@ -1211,56 +1211,47 @@ pub(crate) fn clean_middle_assoc_item<'tcx>( | |||
tcx.generics_of(assoc_item.def_id), | |||
ty::GenericPredicates { parent: None, predicates }, | |||
); | |||
// Move bounds that are (likely) directly attached to the associated type |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, you replaced the comment I updated with its older version ^^' No worries, I'm gonna revert that as part of a bigger PR in the future.
💥 Test timed out |
Same error as @bors retry |
☀️ Test successful - checks-actions |
Finished benchmarking commit (15d7556): comparison URL. Overall result: ✅ improvements - no action needed@rustbot label: -perf-regression 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. |
Depends on Gankra/thin-vec#38