-Znext-solver Less normalizes-to janks#156619
Conversation
|
Some changes occurred to the core trait solver cc @rust-lang/initiative-trait-system-refactor changes to cc @lcnr This PR modifies |
|
@bors try @rust-timer queue |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
`-Znext-solver` Less normalizes-to janks
|
I haven't done the nested goals' recursion depth part yet 😅 I'm gonna work on it if the overall design here pan out to be feasible |
This comment has been minimized.
This comment has been minimized.
|
Finished benchmarking commit (d4c528b): comparison URL. Overall result: ❌✅ regressions and improvements - please read:Benchmarking means the PR may be perf-sensitive. It's automatically marked not fit for rolling up. Overriding is possible but disadvised: it risks changing compiler perf. Next, please: If you can, justify the regressions found in this try perf run in writing along with @bors rollup=never 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 1.5%, secondary 8.5%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (secondary 26.9%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Binary sizeThis perf run didn't have relevant results for this metric. Bootstrap: 510.626s -> 509.733s (-0.17%) |
|
Oh, the perf regressions are insane 😅 I'll look into them |
|
@bors try @rust-timer queue |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
`-Znext-solver` Less normalizes-to janks
This comment has been minimized.
This comment has been minimized.
|
Finished benchmarking commit (52311d2): comparison URL. Overall result: ❌✅ regressions and improvements - please read:Benchmarking means the PR may be perf-sensitive. It's automatically marked not fit for rolling up. Overriding is possible but disadvised: it risks changing compiler perf. Next, please: If you can, justify the regressions found in this try perf run in writing along with @bors rollup=never 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 1.7%, secondary 8.4%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (primary 2.3%, secondary 22.5%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Binary sizeThis perf run didn't have relevant results for this metric. Bootstrap: 513.812s -> 509.975s (-0.75%) |
6bd6498 to
5927eca
Compare
This comment has been minimized.
This comment has been minimized.
|
If my observation is correct, this would fix the perf regression 🤔 |
|
Gosh, why these sus failures happens to my PRs every time 😂 |
This comment has been minimized.
This comment has been minimized.
`-Znext-solver` Less normalizes-to janks cc rust-lang/trait-system-refactor-initiative#223 (comment) r? lcnr
|
@bors r- |
|
This pull request was unapproved. Auto build was cancelled due to unapproval. Cancelled workflows: |
0536376 to
a23b443
Compare
|
I'm pretty sure the CI would be green because the diff is trivial and I tested locally 😅 |
This comment has been minimized.
This comment has been minimized.
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 89a9993 (parent) -> c712ea9 (this PR) Test differencesShow 4 test diffs4 doctest diffs were found. These are ignored, as they are noisy. Test dashboardRun cargo run --manifest-path src/ci/citool/Cargo.toml -- \
test-dashboard c712ea94628bbc7b9cd3030d4a79324c13bbc842 --output-dir test-dashboardAnd 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 (c712ea9): comparison URL. Overall result: ❌✅ regressions and improvements - please read:Our benchmarks found a performance regression caused by this PR. Next Steps:
@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 4.9%, secondary -2.0%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (primary 0.3%, secondary 1.4%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Binary sizeThis perf run didn't have relevant results for this metric. Bootstrap: 522.035s -> 519.996s (-0.39%) |
|
On perf regression: this is mostly improvement and the regression only happens with With this PR, we need relatively lesser depth in nested goals when normalizing things. This behavior slightly improves perf in most cases, but in rust/compiler/rustc_hir_typeck/src/closure.rs Line 320 in 1c0f175 rust/compiler/rustc_hir_typeck/src/fn_ctxt/inspect_obligations.rs Lines 197 to 235 in 1c0f175 Since we are using a For more details, see #t-types/trait-system-refactor > Are there any minimization of `wg-grammar`? @ 💬 @rustbot label: +perf-regression-triaged |
View all comments
cc rust-lang/trait-system-refactor-initiative#223 (comment)
r? lcnr