-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
rustc_metadata: Merge get_ctor_def_id
and get_ctor_kind
#92156
Conversation
r? @davidtwco (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 bff171e4413836415fec047722c65fdef683fa81 with merge 27aa2e969cf95a597a53c308076e6afc1960652a... |
☀️ Try build successful - checks-actions |
Queued 27aa2e969cf95a597a53c308076e6afc1960652a with parent 87e8639, future comparison URL. |
Finished benchmarking commit (27aa2e969cf95a597a53c308076e6afc1960652a): comparison url. Summary: This change led to moderate relevant regressions 😿 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 try perf run, please indicate this with @bors rollup=never |
Also avoid decoding the whole `ty::AssocItem` to get a `has_self` flag
bff171e
to
337ced2
Compare
@bors try @rust-timer queue |
Awaiting bors try build completion. @rustbot label: +S-waiting-on-perf |
⌛ Trying commit 337ced2 with merge 376ed6d45e21820135727ec862ea00f16a87f56b... |
☀️ Try build successful - checks-actions |
Queued 376ed6d45e21820135727ec862ea00f16a87f56b with parent e100ec5, future comparison URL. |
Finished benchmarking commit (376ed6d45e21820135727ec862ea00f16a87f56b): 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 |
@bors r+ |
📌 Commit 337ced2 has been approved by |
☀️ Test successful - checks-actions |
Finished benchmarking commit (aad4f10): 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 |
Also avoid decoding the whole
ty::AssocItem
to get ahas_self
flag.A small optimization and cleanup extracted from #89059.