-
Notifications
You must be signed in to change notification settings - Fork 13.3k
borrowck nested items in dead code #140590
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
base: master
Are you sure you want to change the base?
Conversation
@bors try @rust-timer queue |
This comment has been minimized.
This comment has been minimized.
borrowck nested items in dead code fixes rust-lang#140583 r? `@compiler-errors`
This comment has been minimized.
This comment has been minimized.
☀️ Try build successful - checks-actions |
This comment has been minimized.
This comment has been minimized.
8659c5f
to
ffa7d1e
Compare
Finished benchmarking commit (44541a5): comparison URL. Overall result: ❌ regressions - please read the text belowBenchmarking 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 the most reliable metric that we have; it was used to determine the overall result at the top of this comment. However, even this metric can sometimes exhibit noise.
Max RSS (memory usage)Results (primary 0.7%, secondary 2.7%)This 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.
CyclesResults (primary 0.7%)This 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.
Binary sizeResults (primary 1.1%)This 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.
Bootstrap: 766.288s -> 769.539s (0.42%) |
Okay, so #138499 was a 1.4% improvement in The remaining regressions are ~0.5% in bitmaps and libc. I would expect that both these crates have a lot of small functions, so calling one more query per function body is actually noticeable? 🤔 Making it less expensive seems difficult. We could separately collect all closures by walking the MIR body right after MIR build, similar to |
I've talked with @compiler-errors about this in person, and the small perf hit of computing |
Yeah, I think this is necessary and worth the perf hit. The @bors r+ rollup=never |
fixes #140583
r? @compiler-errors