-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Compute stability by definition #93017
Conversation
r? @lcnr (rust-highfive has picked a reviewer for you, use r? to override) |
c14e32b
to
59a56a8
Compare
@bors try @rust-timer queue |
Awaiting bors try build completion. @rustbot label: +S-waiting-on-perf |
⌛ Trying commit 59a56a84b9bc8d24ed1c79f2b06316aa878ad9d7 with merge 3c5fb9f44bb793a329827fbbe81bce24ba6e81b6... |
☀️ Try build successful - checks-actions |
Queued 3c5fb9f44bb793a329827fbbe81bce24ba6e81b6 with parent ee5d8d3, future comparison URL. |
Finished benchmarking commit (3c5fb9f44bb793a329827fbbe81bce24ba6e81b6): comparison url. Summary: This change led to large 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 try perf run, please indicate this with @bors rollup=never |
/// This is mostly a cache, except the stabilities of local items | ||
/// are filled by the annotator. |
This comment was marked as resolved.
This comment was marked as resolved.
Sorry, something went wrong.
59a56a8
to
2881231
Compare
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 2881231bc581e82a05d2ab4b8aa863c2820037df with merge 1f4e3b20d63a9454962927681c913350a3599109... |
☀️ Try build successful - checks-actions |
Queued 1f4e3b20d63a9454962927681c913350a3599109 with parent 5e57faa, future comparison URL. |
2881231
to
0deedbf
Compare
Finished benchmarking commit (1f4e3b20d63a9454962927681c913350a3599109): comparison url. Summary: This change led to very large 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 try perf run, please indicate this with @bors rollup=never |
These stability/deprecation checking passes are something that I also wanted to move to name resolution, to fix stability/deprecation checking for reexports and individual components inside paths (cc #15702), if that is done then it will probably still look like a monolithic pass across the whole crate. |
⌛ Trying commit 20ef0110ede1e9262a129e9595f4687a2e28ca6b with merge 34abd002a81d8d98e4aec1d01e31b6c4b94ad09c... |
☀️ Try build successful - checks-actions |
This comment has been minimized.
This comment has been minimized.
Finished benchmarking commit (34abd002a81d8d98e4aec1d01e31b6c4b94ad09c): comparison URL. Overall result: ❌ regressions - 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. Next Steps: If you can justify the regressions found in this try perf run, please indicate this with @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.
|
20ef011
to
511bfcb
Compare
511bfcb
to
87f62c3
Compare
With only lookup_deprecation_entry |
This comment has been minimized.
This comment has been minimized.
@bors try @rust-timer queue |
This comment has been minimized.
This comment has been minimized.
@bors try @rust-timer queue |
This comment has been minimized.
This comment has been minimized.
⌛ Trying commit 87f62c3 with merge 3935c8634970bca12aada5357279acd519f03012... |
☀️ Try build successful - checks-actions |
This comment has been minimized.
This comment has been minimized.
Finished benchmarking commit (3935c8634970bca12aada5357279acd519f03012): comparison URL. Overall result: ❌ regressions - 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. Next Steps: If you can justify the regressions found in this try perf run, please indicate this with @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.
|
The current query is monolithic and depends on all the items in the crate at once. As a consequence, it is always recomputed and walk the whole HIR.
This PR aims to compute this information on-demand only.