-
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
Revert "Normalize opaques with escaping bound vars" #103509
Revert "Normalize opaques with escaping bound vars" #103509
Conversation
@bors try @rust-timer queue |
Awaiting bors try build completion. @rustbot label: +S-waiting-on-perf |
@skyzh you should be able to test this using the "try build" that will be created by bors. I can write up instructions to do so, or I might just try building the crate myself. |
I can compile this branch of compiler by myself. Hopefully it should be the same as the generated artifacts from bors? |
Yes, that works too. |
⌛ Trying commit 625500e305c3e8d21c274d85198fb7a09593ffb2 with merge f4d10a74e46baa8f6e56c17fa022b2e8701c6e38... |
This fix works on the previous PR I mentioned. Debug builds successfully in 1m 58s. Nearly no regression in time compared with nightly-07-29. Only tested on aarch64-apple-darwin. |
☀️ Try build successful - checks-actions |
Queued f4d10a74e46baa8f6e56c17fa022b2e8701c6e38 with parent 758f196, future comparison URL. |
Finished benchmarking commit (f4d10a74e46baa8f6e56c17fa022b2e8701c6e38): 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 |
I would like to wait with this PR until we get a minimization for this issue. We still have more than 7 weeks until this would hit stable and I think normalizing opaque types with escaping vars is an important improvement to Rust. I fear that by simply reverting this now, we will not take the time to actually search for a MVCE here. |
Sounds good, and I’m still working on it 🤣 |
MVCE in #103423 (comment) |
@rustbot author |
I've got some normalization work in the pipeline, but that's 100% not going to get beta backported, so this can/should get landed instead. @rustbot ready |
This reverts commit 43119d6.
625500e
to
6ae4e5e
Compare
The Miri subtree was changed cc @rust-lang/miri |
@bors r+ |
☀️ Test successful - checks-actions |
Finished benchmarking commit (5e6de23): comparison URL. Overall result: ❌✅ regressions and improvements - ACTION NEEDEDNext Steps: If you can justify the regressions found in this perf run, please indicate this with @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.
|
…mulacrum [beta] backport * Use nominal_obligations_without_const in wf for FnDef rust-lang#104180 * Don't silently eat label before block in block-like expr rust-lang#103986 * Revert "Update CI to use Android NDK r25b" rust-lang#104628 * rustdoc: Resolve doc links in external traits having local impls rust-lang#104364 * Use 64 bits for incremental cache in-file positions rust-lang#104164 * rustdoc: Do not add external traits to the crate in register_res rust-lang#103649 * Revert "Normalize opaques with escaping bound vars" rust-lang#103509 * Bump to released stable compiler * [beta] Update cargo rust-lang#104486 r? `@Mark-Simulacrum`
This is a necessary fix for a compiler hang. Additionally the improvements outweigh the regressions and this is all confined to secondary benchmarks. @rustbot label: +perf-regression-triaged |
…-r-hard, r=oli-obk Revert "Normalize opaques with escaping bound vars" This caused a perf regression in rust-lang#103423, cc `@skyzh` this should fix rust-lang#103423. reverts rust-lang#100980 r? `@oli-obk`
This caused a perf regression in #103423, cc @skyzh this should fix #103423.
reverts #100980
r? @oli-obk