-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Rustdoc: use ThinVec for GenericArgs bindings #92395
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
Conversation
Some changes occurred in cc @camelid |
r? @cjgillot (rust-highfive has picked a reviewer for you, use r? to override) |
This comment has been minimized.
This comment has been minimized.
86e1258
to
07c9b8c
Compare
FWIW, I also tried to go through all Rustdoc Sadly, it seems that it increased RSS instead of reducing it, probably because in most cases the Vec still has to be created first, and also because |
r? rust-lang/rustdoc |
r? @camelid @bors try @rust-timer queue |
Awaiting bors try build completion. @rustbot label: +S-waiting-on-perf |
⌛ Trying commit 07c9b8c8b5a16cbcf2e4866c2daf3683c0ac78f3 with merge eb265fcfa65559eb237cc30f1c89b67ffdabd032... |
☀️ Try build successful - checks-actions |
Queued eb265fcfa65559eb237cc30f1c89b67ffdabd032 with parent 78fd0f6, future comparison URL. |
Finished benchmarking commit (eb265fcfa65559eb237cc30f1c89b67ffdabd032): comparison url. Summary: This benchmark run did not return any relevant changes. 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. @bors rollup=never |
Small instructions count improvements and mostly moderate improvements on max-rss (with a few regressions, but perhaps spurious). |
07c9b8c
to
cde982f
Compare
cde982f
to
3d8d3f1
Compare
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.
Thanks!
@bors r+ rollup=never |
📌 Commit 3d8d3f1 has been approved by |
⌛ Testing commit 3d8d3f1 with merge d01a8cb3e60ba71ee5f0601c3cc48d9baf96f20b... |
💥 Test timed out |
@bors retry |
☀️ Test successful - checks-actions |
Finished benchmarking commit (b5da808): comparison url. Summary: This benchmark run did not return any relevant changes. If you disagree with this performance assessment, please file an issue in rust-lang/rustc-perf. @rustbot label: -perf-regression |
The bindings are almost always empty. This reduces the size of
PathSegment
andGenericArgs
by about one fourth.