Uh oh!
There was an error while loading. Please reload this page.
Hash Ident spans in all HIR structures - #92534
Conversation
This PR removes all of the `#[stable_hasher(project(name))]` attributes used in HIR structs. While these attributes are not known to be causing any issues in practice, we need to hash these in order for the incremental system to work correctly - a query could be otherwise be incorrectly marked green when a change occures in one of the `Span`s that it uses.
rust-highfive
commented
Jan 3, 2022
(rust-highfive has picked a reviewer for you, use r? to override) |
Aaron1011
commented
Jan 3, 2022
@bors try @rust-timer queue |
rust-timer
commented
Jan 3, 2022
Awaiting bors try build completion. @rustbot label: +S-waiting-on-perf |
bors
commented
Jan 3, 2022
⌛ Trying commit 467b726 with merge e70d7c42c557e3314300eb6a0bf4a99bdbdfa358... |
bors
commented
Jan 3, 2022
☀️ Try build successful - checks-actions |
rust-timer
commented
Jan 3, 2022
Queued e70d7c42c557e3314300eb6a0bf4a99bdbdfa358 with parent ddabe07, future comparison URL. |
rust-timer
commented
Jan 3, 2022
Finished benchmarking commit (e70d7c42c557e3314300eb6a0bf4a99bdbdfa358): comparison url. Summary: This change led to large 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 |
petrochenkov
commented
Jan 4, 2022
This is a subset of #92210, but without parts that are really problematic for performance. |
bors
commented
Jan 4, 2022
📌 Commit 467b726 has been approved by |
bors
commented
Jan 4, 2022
⌛ Testing commit 467b726 with merge 7a0a0a233a0b289f1b1c29d30abed4fa94642de5... |
bors
commented
Jan 4, 2022
💔 Test failed - checks-actions |
rust-log-analyzer
commented
Jan 4, 2022
petrochenkov
commented
Jan 4, 2022
@bors retry |
bors
commented
Jan 4, 2022
⌛ Testing commit 467b726 with merge 6299c843455584a472fb8abe92b600eafc7f732e... |
bors
commented
Jan 4, 2022
💥 Test timed out |
Aaron1011
commented
Jan 4, 2022
@bors retry |
rust-log-analyzer
commented
Jan 4, 2022
bors
commented
Jan 9, 2022
bors
commented
Jan 9, 2022
☀️ Test successful - checks-actions |
rust-timer
commented
Jan 9, 2022
Finished benchmarking commit (092e1c9): comparison url. Summary: This change led to large relevant regressions 😿 in compiler performance.
If you disagree with this performance assessment, please file an issue in rust-lang/rustc-perf. Next Steps: If you can justify the regressions found in this perf run, please indicate this with @rustbot label: +perf-regression |
rylev
commented
Jan 12, 2022
@Aaron1011@petrochenkov am I correct in assuming that we're on with the perf regressions since this is a correctness fix? Is there any path potentially for gaining some of the perf back? I see that this is a subset of #92210 which has absolutely horrific performance regressions. Would it make sense to try to gain back as much of the perf lost with this PR first before landing the subsequent one? |
This PR removes all of the
#[stable_hasher(project(name))]attributes used in HIR structs. While these attributes are not known
to be causing any issues in practice, we need to hash these in
order for the incremental system to work correctly -
a query could be otherwise be incorrectly marked green
when a change occures in one of the
Spans that it uses.