Repository navigation
Rollup of 15 pull requests - #166532
Rollup of 15 pull requests#166532
Conversation
Because a `FnParam::Ident` now always comes from function args const generics, we can change it to `FnParam::GenericParam`
Update documentation for Termination to clarify that report() has the side effect of outputting Err values to stderr.
From now on let's call _1 "courotine struct local." Signed-off-by: Xiangfei Ding <dingxiangfei2009@protonmail.ch>
…ulfillment, r=lcnr Skip fulfillment when normalization produces no obligations In the next solver, normalization always builds and evaluates a new `FulfillmentCtxt` afterwards, even when it produced no obligations. This PR returns early in that case. r? lcnr
Lower to `hir::Param`s for required trait functions The same as rust-lang#166142, but for required trait functions. Also includes a bunch of cleanup. I recommend reviewing commit by commit, every commit passes tests. Earlier commits leave TODOs that are fixed by later commits Part of rust-lang#164357 r? Kivooeo
…aumeGomez rustdoc: Use source snippet to render `include_*` literals Related: rust-lang#65818 A substantial portion of the slowness from `include_bytes!` on large blobs comes from escaping these blobs and encoding that rendered string into the rlib. For `include` macros, rendering a source snippet is much more performant and IMO clearer. r? rustdoc (as this is only consumed by rustdoc)
…uillaumeGomez Integrate doc comment target checking on parameters & where bounds Follow-up of rust-lang#166093 I recommend reviewing commit by commit, every commit passes tests. The line-diff is quite negative when you ignore uitests :D r? @GuillaumeGomez cc @mejrs
…ern, r=Nadrieril Fix float zero patterns after a failed guard Fixes rust-lang#165311 After rust-lang#122459, match lowering compares float constants by bits, so `-0.0` is not equal to `0.0`. This PR compares them as floats, like range patterns already do.
…e, r=BoxyUwU Sync tier 3 addition policy with Forge We forgot to sync this back to the target tier policy when we updated the Forge policy. > New targets should be assigned to the compiler team co-leads to check for any licensing concerns and to ensure that any demands on the project infrastructure are considered and checked with relevant teams. Ref: https://forge.rust-lang.org/compiler/proposals-and-stabilization.html#targets r? compiler_leads
Correctly specify that the head cannot be >= capacity I think this comment, which seems to have been added in May this year, is a mistake and so I have corrected it.
This comment has been minimized.
This comment has been minimized.
Rollup of 15 pull requests try-job: dist-various-1 try-job: dist-various-2 try-job: test-various try-job: test-x86_64-gnu-aux try-job: test-x86_64-msvc-1 try-job: test-aarch64-apple-1 try-job: test-aarch64-apple-2 try-job: test-x86_64-mingw-1 try-job: test-i686-msvc try-job: test-armhf-gnu try-job: test-x86_64-gnu-llvm-22-3 try-job: test-aarch64-msvc-2
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 739adec (parent) -> 96be22c (this PR) Test differencesShow 22 test diffsStage 1
Stage 2
Additionally, 17 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 96be22caa35b5c36c3a6d00571915255cd32ffa5 --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 |
|
📌 Perf builds for each rolled up PR:
parent commit: 739adecd44 In the case of a perf regression, run the following command with the SHAs of each PR you suspect might be the cause: |
|
Finished benchmarking commit (96be22c): 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 (secondary -18.2%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (primary 1.8%, secondary -12.3%)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: 488.117s -> 463.314s (-5.08%) |
Running triage with 7 benchmarksTriage only executes the benchmarks on rollup members, that were changed significantly on the rollup.
#165847 6d1b8a2 Skip fulfillment when normalization produces no obligationsInstruction countOur most reliable metric. Used to determine the overall result above. However, even this metric can be noisy.
Max RSS (memory usage)This perf run didn't have relevant results for this metric. CyclesResults (secondary 2.7%)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. #166147 310a937 Lower to
|
| mean | range | count | |
|---|---|---|---|
| Regressions ❌ (primary) |
- | - | 0 |
| Regressions ❌ (secondary) |
0.6% | [0.6%, 0.6%] | 6 |
| Improvements ✅ (primary) |
- | - | 0 |
| Improvements ✅ (secondary) |
-73.8% | [-76.6%, -71.0%] | 2 |
| All ❌✅ (primary) | - | - | 0 |
Max RSS (memory usage)
Results (secondary -37.2%)
A less reliable metric. May be of interest, but not used to determine the overall result above.
| mean | range | count | |
|---|---|---|---|
| Regressions ❌ (primary) |
- | - | 0 |
| Regressions ❌ (secondary) |
- | - | 0 |
| Improvements ✅ (primary) |
- | - | 0 |
| Improvements ✅ (secondary) |
-37.2% | [-38.7%, -35.7%] | 2 |
| All ❌✅ (primary) | - | - | 0 |
Cycles
Results (secondary -44.0%)
A less reliable metric. May be of interest, but not used to determine the overall result above.
| mean | range | count | |
|---|---|---|---|
| Regressions ❌ (primary) |
- | - | 0 |
| Regressions ❌ (secondary) |
1.5% | [1.5%, 1.5%] | 1 |
| Improvements ✅ (primary) |
- | - | 0 |
| Improvements ✅ (secondary) |
-66.7% | [-68.9%, -64.5%] | 2 |
| All ❌✅ (primary) | - | - | 0 |
Binary size
This perf run didn't have relevant results for this metric.
#166497 e1b32a9 Integrate doc comment target checking on parameters & where bounds
Instruction count
Our most reliable metric. Used to determine the overall result above. However, even this metric can be noisy.
| mean | range | count | |
|---|---|---|---|
| Regressions ❌ (primary) |
- | - | 0 |
| Regressions ❌ (secondary) |
0.6% | [0.6%, 0.6%] | 6 |
| Improvements ✅ (primary) |
- | - | 0 |
| Improvements ✅ (secondary) |
- | - | 0 |
| All ❌✅ (primary) | - | - | 0 |
Max RSS (memory usage)
This perf run didn't have relevant results for this metric.
Cycles
This perf run didn't have relevant results for this metric.
Binary size
This perf run didn't have relevant results for this metric.
#166500 71f4149 Fix float zero patterns after a failed guard
Instruction count
Our most reliable metric. Used to determine the overall result above. However, even this metric can be noisy.
| mean | range | count | |
|---|---|---|---|
| Regressions ❌ (primary) |
- | - | 0 |
| Regressions ❌ (secondary) |
0.6% | [0.6%, 0.6%] | 6 |
| Improvements ✅ (primary) |
- | - | 0 |
| Improvements ✅ (secondary) |
- | - | 0 |
| All ❌✅ (primary) | - | - | 0 |
Max RSS (memory usage)
This perf run didn't have relevant results for this metric.
Cycles
This perf run didn't have relevant results for this metric.
Binary size
This perf run didn't have relevant results for this metric.
#166502 e57ce18 [rustdoc] Fix rustc_private items being marked as unstable in the search results
Instruction count
Our most reliable metric. Used to determine the overall result above. However, even this metric can be noisy.
| mean | range | count | |
|---|---|---|---|
| Regressions ❌ (primary) |
- | - | 0 |
| Regressions ❌ (secondary) |
0.6% | [0.6%, 0.6%] | 6 |
| Improvements ✅ (primary) |
- | - | 0 |
| Improvements ✅ (secondary) |
- | - | 0 |
| All ❌✅ (primary) | - | - | 0 |
Max RSS (memory usage)
This perf run didn't have relevant results for this metric.
Cycles
This perf run didn't have relevant results for this metric.
Binary size
This perf run didn't have relevant results for this metric.
|
The next-solver-stress regressions appear to be a combination of noise (shared by all PRs), and a real-looking regression in #165847, which is also responsible for the improvements in other new-solver benchmarks. I believe the next-solver-stress benchmark is new enough that it doesn't show up in prior perf runs for that PR. |
Successful merges:
hir::Params for required trait functions #166147 (Lower tohir::Params for required trait functions)include_*literals #166414 (rustdoc: Use source snippet to renderinclude_*literals)r? @ghost
Create a similar rollup