-
Notifications
You must be signed in to change notification settings - Fork 13.6k
dont assemble shadowed impl candidates #144732
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
Conversation
|
This comment has been minimized.
This comment has been minimized.
493e0a8
to
b0df1dd
Compare
@bors rollup=never We've already benchmarked this before, it's a small perf win, no reason to do it again before merging this PR |
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.
r=me after squashing
e0c16a8
to
9931a92
Compare
@bors r=compiler-errors |
9931a92
to
a78f92b
Compare
@bors r=compiler-errors |
☀️ Test successful - checks-actions |
What is this?This is an experimental post-merge analysis report that shows differences in test outcomes between the merged PR and its parent PR.Comparing 7cd9505 (parent) -> f34ba77 (this PR) Test differencesShow 12 test diffsStage 1
Stage 2
Additionally, 8 doctest diffs were found. These are ignored, as they are noisy. Job group index
Test dashboardRun cargo run --manifest-path src/ci/citool/Cargo.toml -- \
test-dashboard f34ba774c78ea32b7c40598b8ad23e75cdac42a6 --output-dir test-dashboard And then open Job duration changes
How to interpret the job duration changes?Job durations can vary a lot, based on the actual runner instance |
Finished benchmarking commit (f34ba77): comparison URL. Overall result: ✅ improvements - no action needed@rustbot label: -perf-regression Instruction countOur most reliable metric. Used to determine the overall result above. However, even this metric can be noisy.
Max RSS (memory usage)Results (primary -0.4%, secondary -4.0%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (primary 2.7%, secondary -2.7%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Binary sizeThis benchmark run did not return any relevant results for this metric. Bootstrap: 468.551s -> 467.629s (-0.20%) |
Fixes rust-lang/trait-system-refactor-initiative#109.
I've originally intended to fix this by supporting lazy reevaluation when rerunning cycles. This ended up being really difficult, see https://github.com/lcnr/search_graph for my notes used while working on this. It is also insufficient for the
rayon-hang-2.rs
test as we end up with goals which we need to rerun for all combinations of provisional results. While landing such an optimization in the future may still be desirable, it is very difficult and insufficient to fix these hangs. Also see the relevant zulip thread.I was previously opposed to avoiding assembling shadowed impls as it may prevent future improvements in this area, cc #141226. Going to track this and the reasoning behind it in rust-lang/trait-system-refactor-initiative#226.
r? @BoxyUwU @compiler-errors