-
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
Remove #![allow(rustc::potential_query_instability)] from rustc_infer #103218
Conversation
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @jackh726 (or someone else) soon. Please see the contribution instructions for more information. |
@bors try Edit: Knew it wouldn't work, but I had to try 😉 |
@CastilloDel: 🔑 Insufficient privileges: not in try users |
@bors try @rust-timer queue |
Awaiting bors try build completion. @rustbot label: +S-waiting-on-perf |
⌛ Trying commit 540d4bb99d79ad1587b7c021a3f99ef9178aa538 with merge 8b67abcd612ebae784d854d3a5c6ad4f428022b1... |
☀️ Try build successful - checks-actions |
Queued 8b67abcd612ebae784d854d3a5c6ad4f428022b1 with parent a24a020, future comparison URL. |
Finished benchmarking commit (8b67abcd612ebae784d854d3a5c6ad4f428022b1): comparison URL. Overall result: ❌✅ regressions and improvements - 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.
Footnotes |
The result seems okayish to me. In instructions count, it seems the primary improvements overweight the primary regressions. The regressions in secondary benchmarks, specially the memory ones, don't seem to be that good, but I guess they are acceptable? |
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.
LGTM, just needs rebase
Some changes occurred to the CTFE / Miri engine cc @rust-lang/miri |
Sorry, @/rust-lang/miri I messed up the rebase. It should be okay now! |
@bors r=jackh726 |
📌 Commit efb4a3ea7eb08f0dadb4dbe453350b784b7a9c56 has been approved by It is now in the queue for this repository. |
I have changed |
☔ The latest upstream changes (presumably #103671) made this pull request unmergeable. Please resolve the merge conflicts. |
Change reported_violations to use IndexSet It is being used to iterate and to insert, without a lot of lookups so hopefully it won't be a perf hit Change MiniGraph.nodes to use IndexSet It is being used to iterate and to insert, without performing lookups so hopefully it won't be a perf hit Change RegionConstraintData.givens to a FxIndexSet This might result in a perf hit. Remove was being used in `givens`, and `FxIndexSet` doesn't allow calling remove without losing the fixed iteration order. So it was necessary to change remove to `shift_remove`, but this method is slower. Change OpaqueTypesVisitor to use stable sets and maps This could also be a perf hit. Make TraitObject visitor use a stable set
Not really sure about what happened, but it should be okay now |
@bors r+ |
☀️ Test successful - checks-actions |
Finished benchmarking commit (ca08a32): comparison URL. Overall result: ❌ regressions - 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.
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.
|
Remove #![allow(rustc::potential_query_instability)] from rustc_infer Related to rust-lang#84447 This PR probably needs to be benchmarked to check for regressions.
Related to #84447
This PR probably needs to be benchmarked to check for regressions.