Skip to content

Rollup of 15 pull requests #145599

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

Merged
merged 42 commits into from
Aug 19, 2025
Merged

Rollup of 15 pull requests #145599

merged 42 commits into from
Aug 19, 2025

Conversation

jieyouxu
Copy link
Member

@jieyouxu jieyouxu commented Aug 19, 2025

Successful merges:

r? @ghost
@rustbot modify labels: rollup

Create a similar rollup

pascaldekloe and others added 30 commits July 25, 2025 16:02
Update "between" to "among" (more than two items), connect the "which"
dependent clause to the independent part, and remove the redundant
"here".
* correct buffer size
* no trait abstraction
* similar to decimal
I was just looking at the specifics of how the parsing is handled here
and I wasn't sure if the examples were incomplete or the grammar below was
misleading.

The grammar was correct so I figured I'd add these examples to clarify.
Fix adjacent code

Fix duplicate warning; merge test into `tests/ui-fulldeps/internal-lints`

Use `rustc_middle::ty::FnSig::inputs`

Address two review comments

- rust-lang#139345 (comment)
- rust-lang#139345 (comment)

Use `Instance::try_resolve`

Import `rustc_middle::ty::Ty` as `Ty` rather than `MiddleTy`

Simplify predicate handling

Add more `#[allow(rustc::potential_query_instability)]` following rebase

Remove two `#[allow(rustc::potential_query_instability)]` following rebase

Address review comment

Update compiler/rustc_lint/src/internal.rs

Co-authored-by: lcnr <[email protected]>
This is intended to be used for Linux kernel RETPOLINE builds.

Signed-off-by: Miguel Ojeda <[email protected]>
Also use tracing macro syntax instead of format()
Extend `QueryStability` to handle `IntoIterator` implementations

This PR extends the `rustc::potential_query_instability` lint to check values passed as `IntoIterator` implementations.

Full disclosure: I want the lint to warn about this line (please see rust-lang#138871 for why): https://github.com/rust-lang/rust/blob/aa8f0fd7163a2f23aa958faed30c9c2b77b934a5/src/librustdoc/json/mod.rs#L261

However, the lint warns about several other lines as well.

Final note: the functions `get_callee_generic_args_and_args` and `get_input_traits_and_projections` were copied directly from [Clippy's source code](https://github.com/rust-lang/rust/blob/4fd8c04da0674af2c51310c9982370bfadfa1b98/src/tools/clippy/clippy_lints/src/methods/unnecessary_to_owned.rs#L445-L496).
…=davidtwco

Add `-Zindirect-branch-cs-prefix`

Cc: ``@azhogin`` ``@Darksonn``

This goes on top of rust-lang#135927, i.e. please skip the first commit here. Please feel free to inherit it there.

In fact, I am not sure if there is any use case for the flag without `-Zretpoline*`. GCC and Clang allow it, though.

There is a `FIXME` for two `ignore`s in the test that I took from another test I did in the past -- they may be needed or not here since I didn't run the full CI. Either way, it is not critical.

Tracking issue: rust-lang#116852.
MCP: rust-lang/compiler-team#868.
…yUwU

nll-relate: improve hr opaque types support

This should currently not be user-facing outside of diagnostics as even if we successfully relate the opaque types, we don't support opaque types with non-param arguments and also require all member regions to be equal to the arguments or `'static`. This means there's no way to end up with a placeholder in the hidden type.

r? types
@bors bors added the merged-by-bors This PR was explicitly merged by bors. label Aug 19, 2025
@bors bors merged commit 16ad385 into rust-lang:master Aug 19, 2025
12 checks passed
@rustbot rustbot added this to the 1.91.0 milestone Aug 19, 2025
Copy link
Contributor

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 8c32e31 (parent) -> 16ad385 (this PR)

Test differences

Show 1411 test diffs

Stage 1

  • [assembly] tests/assembly-llvm/x86_64-indirect-branch-cs-prefix.rs#set: [missing] -> pass (J0)
  • [assembly] tests/assembly-llvm/x86_64-indirect-branch-cs-prefix.rs#unset: [missing] -> pass (J0)
  • [codegen] tests/codegen-llvm/indirect-branch-cs-prefix.rs#set: [missing] -> pass (J0)
  • [ui] tests/ui/attributes/invalid-attributes-on-const-params-78957.rs: [missing] -> pass (J0)
  • [ui] tests/ui/binding/invalid-assignment-in-while-loop-77218.rs: [missing] -> pass (J0)
  • [ui] tests/ui/borrowck/rvalue-lifetime-match-equivalence-7660.rs: [missing] -> pass (J0)
  • [ui] tests/ui/cross-crate/static-regions-in-cross-crate-8259.rs: [missing] -> pass (J0)
  • [ui] tests/ui/cross-crate/tuple-like-structs-cross-crate-7899.rs: [missing] -> pass (J0)
  • [ui] tests/ui/enum/simple-enum-usage-8506.rs: [missing] -> pass (J0)
  • [ui] tests/ui/issues/issue-75283.rs: pass -> [missing] (J0)
  • [ui] tests/ui/issues/issue-7575.rs: pass -> [missing] (J0)
  • [ui] tests/ui/issues/issue-76077-inaccesible-private-fields/issue-76077-1.rs: pass -> [missing] (J0)
  • [ui] tests/ui/issues/issue-76077-inaccesible-private-fields/issue-76077.rs: pass -> [missing] (J0)
  • [ui] tests/ui/issues/issue-76191.rs: pass -> [missing] (J0)
  • [ui] tests/ui/issues/issue-7660.rs: pass -> [missing] (J0)
  • [ui] tests/ui/issues/issue-7673-cast-generically-implemented-trait.rs: pass -> [missing] (J0)
  • [ui] tests/ui/issues/issue-7784.rs: pass -> [missing] (J0)
  • [ui] tests/ui/issues/issue-78192.rs: pass -> [missing] (J0)
  • [ui] tests/ui/issues/issue-7970a.rs: pass -> [missing] (J0)
  • [ui] tests/ui/issues/issue-8044.rs: pass -> [missing] (J0)
  • [ui] tests/ui/issues/issue-8391.rs: pass -> [missing] (J0)
  • [ui] tests/ui/issues/issue-8498.rs: pass -> [missing] (J0)
  • [ui] tests/ui/issues/issue-8506.rs: pass -> [missing] (J0)
  • [ui] tests/ui/issues/issue-8578.rs: pass -> [missing] (J0)
  • [ui] tests/ui/issues/issue-86756.rs: pass -> [missing] (J0)
  • [ui] tests/ui/issues/issue-8761.rs: pass -> [missing] (J0)
  • [ui] tests/ui/issues/issue-87707.rs: pass -> [missing] (J0)
  • [ui] tests/ui/issues/issue-8783.rs: pass -> [missing] (J0)
  • [ui] tests/ui/macros/macro-path-type-bounds-8521.rs: [missing] -> pass (J0)
  • [ui] tests/ui/match/mismatched-types-in-match-pattern-7867.rs: [missing] -> pass (J0)
  • [ui] tests/ui/mir/mir-cfg-unpretty-check-81918.rs: [missing] -> pass (J0)
  • [ui] tests/ui/pattern/ref-in-function-parameter-patterns-8860.rs: [missing] -> pass (J0)
  • [ui] tests/ui/privacy/private-field-struct-construction-76077.rs: [missing] -> pass (J0)
  • [ui] tests/ui/recursion/infinite-function-recursion-error-8727.rs: [missing] -> pass (J0)
  • [ui] tests/ui/structs/destructuring-struct-type-inference-8783.rs: [missing] -> pass (J0)
  • [ui] tests/ui/track-diagnostics/track-caller-for-once-87707.rs: [missing] -> pass (J0)
  • [ui] tests/ui/traits/self-implements-kinds-in-default-methods-8171.rs: [missing] -> pass (J0)
  • [ui] tests/ui/traits/trait-implementation-and-usage-7563.rs: [missing] -> pass (J0)
  • errors::verify_session_failed_to_create_profiler_49: pass -> [missing] (J1)
  • errors::verify_session_failed_to_create_profiler_50: [missing] -> pass (J1)
  • errors::verify_session_soft_float_deprecated_51: pass -> [missing] (J1)
  • errors::verify_session_soft_float_ignored_50: pass -> [missing] (J1)
  • errors::verify_session_soft_float_ignored_51: [missing] -> pass (J1)
  • errors::verify_session_unsupported_reg_struct_return_arch_48: pass -> [missing] (J1)
  • errors::verify_session_unsupported_reg_struct_return_arch_49: [missing] -> pass (J1)
  • errors::verify_session_unsupported_regparm_46: pass -> [missing] (J1)
  • errors::verify_session_unsupported_regparm_47: [missing] -> pass (J1)
  • fmt::write_i128_oct: [missing] -> pass (J5)
  • fmt::write_i32_bin: [missing] -> pass (J5)
  • fmt::write_i64_bin: [missing] -> pass (J5)
  • fmt::write_i64_oct: [missing] -> pass (J5)
  • fmt::write_i8_bin: [missing] -> pass (J5)
  • fmt::write_i8_hex: [missing] -> pass (J5)

Stage 2

  • [ui] tests/ui/array-slice-vec/pattern-matching-fixed-length-vectors-7784.rs: [missing] -> pass (J2)
  • [ui] tests/ui/associated-consts/ambiguous-associated-type-error-78622.rs: [missing] -> pass (J2)
  • [ui] tests/ui/borrowck/rvalue-lifetime-match-equivalence-7660.rs: [missing] -> pass (J2)
  • [ui] tests/ui/codegen/i128-shift-overflow-check-76042.rs: [missing] -> pass (J2)
  • [ui] tests/ui/coercion/mut-trait-coercion-8248.rs: [missing] -> pass (J2)
  • [ui] tests/ui/consts/const-range-matching-76191.rs: [missing] -> pass (J2)
  • [ui] tests/ui/cross-crate/static-regions-in-cross-crate-8259.rs: [missing] -> pass (J2)
  • [ui] tests/ui/cross-crate/tuple-like-structs-cross-crate-7899.rs: [missing] -> pass (J2)
  • [ui] tests/ui/enum/enum-discriminant-type-mismatch-8761.rs: [missing] -> pass (J2)
  • [ui] tests/ui/enum/enum-variant-field-error-80607.rs: [missing] -> pass (J2)
  • [ui] tests/ui/extern/function-definition-in-extern-block-75283.rs: [missing] -> pass (J2)
  • [ui] tests/ui/invalid-compile-flags/indirect-branch-cs-prefix/requires-x86-or-x86_64.rs#aarch64: [missing] -> pass (J2)
  • [ui] tests/ui/invalid-compile-flags/indirect-branch-cs-prefix/requires-x86-or-x86_64.rs#x86: [missing] -> pass (J2)
  • [ui] tests/ui/invalid-compile-flags/indirect-branch-cs-prefix/requires-x86-or-x86_64.rs#x86_64: [missing] -> pass (J2)
  • [ui] tests/ui/issues/issue-7575.rs: pass -> [missing] (J2)
  • [ui] tests/ui/issues/issue-76191.rs: pass -> [missing] (J2)
  • [ui] tests/ui/issues/issue-7673-cast-generically-implemented-trait.rs: pass -> [missing] (J2)
  • [ui] tests/ui/issues/issue-77218/issue-77218-2.rs: pass -> [missing] (J2)
  • [ui] tests/ui/issues/issue-78192.rs: pass -> [missing] (J2)
  • [ui] tests/ui/issues/issue-80607.rs: pass -> [missing] (J2)
  • [ui] tests/ui/issues/issue-81918.rs: pass -> [missing] (J2)
  • [ui] tests/ui/issues/issue-8248.rs: pass -> [missing] (J2)
  • [ui] tests/ui/issues/issue-8391.rs: pass -> [missing] (J2)
  • [ui] tests/ui/issues/issue-86756.rs: pass -> [missing] (J2)
  • [ui] tests/ui/issues/issue-87199.rs: pass -> [missing] (J2)
  • [ui] tests/ui/issues/issue-8767.rs: pass -> [missing] (J2)
  • [ui] tests/ui/issues/issue-8860.rs: pass -> [missing] (J2)
  • [ui] tests/ui/iterators/iterator-scope-collect-suggestion-81584.rs: [missing] -> pass (J2)
  • [ui] tests/ui/macros/macro-invocation-span-error-7970.rs: [missing] -> pass (J2)
  • [ui] tests/ui/match/mismatched-types-in-match-pattern-7867.rs: [missing] -> pass (J2)
  • [ui] tests/ui/methods/trait-method-self-param-error-7575.rs: [missing] -> pass (J2)
  • [ui] tests/ui/pattern/ref-in-function-parameter-patterns-8860.rs: [missing] -> pass (J2)
  • [ui] tests/ui/privacy/inaccessible-fields-pattern-matching-76077.rs: [missing] -> pass (J2)
  • [ui] tests/ui/recursion/infinite-function-recursion-error-8727.rs: [missing] -> pass (J2)
  • [ui] tests/ui/structs/destructuring-struct-type-inference-8783.rs: [missing] -> pass (J2)
  • [ui] tests/ui/thir-print/break-outside-loop-error-83048.rs: [missing] -> pass (J2)
  • [ui] tests/ui/track-diagnostics/track-caller-for-once-87707.rs: [missing] -> pass (J2)
  • [ui] tests/ui/traits/default-method-fn-call-9123.rs: [missing] -> pass (J2)
  • [ui] tests/ui/traits/mut-trait-in-struct-8249.rs: [missing] -> pass (J2)
  • [ui] tests/ui/traits/self-implements-kinds-in-default-methods-8171.rs: [missing] -> pass (J2)
  • [ui] tests/ui/traits/trait-implementation-and-usage-7563.rs: [missing] -> pass (J2)
  • [ui] tests/ui/typeck/impl-for-nonexistent-type-error-8767.rs: [missing] -> pass (J2)
  • [assembly] tests/assembly-llvm/x86_64-indirect-branch-cs-prefix.rs#set: [missing] -> pass (J3)
  • [assembly] tests/assembly-llvm/x86_64-indirect-branch-cs-prefix.rs#set: [missing] -> ignore (only executed when the architecture is x86_64) (J4)
  • [ui] tests/ui/issues/issue-85461.rs: pass -> [missing] (J6)
  • [ui] tests/ui/issues/issue-85461.rs: ignore (ignored when the profiler runtime is not available) -> [missing] (J7)
  • [assembly] tests/assembly-llvm/x86_64-indirect-branch-cs-prefix.rs#set: [missing] -> ignore (ignored when the target vendor is Apple (Symbol is called ___x86_indirect_thunk (Darwin's extra underscore))) (J8)

(and 135 additional test diffs)

Additionally, 1176 doctest diffs were found. These are ignored, as they are noisy.

Job group index

Test dashboard

Run

cargo run --manifest-path src/ci/citool/Cargo.toml -- \
    test-dashboard 16ad385579cebb6f7d53367c552661b6b51a4a02 --output-dir test-dashboard

And then open test-dashboard/index.html in your browser to see an overview of all executed tests.

Job duration changes

  1. tidy: 106.1s -> 210.8s (98.7%)
  2. x86_64-apple-2: 4212.9s -> 6756.9s (60.4%)
  3. pr-check-1: 1368.8s -> 1722.8s (25.9%)
  4. dist-x86_64-apple: 10130.6s -> 12636.7s (24.7%)
  5. i686-gnu-1: 7448.0s -> 8995.3s (20.8%)
  6. x86_64-apple-1: 7752.2s -> 9348.2s (20.6%)
  7. x86_64-gnu-llvm-19: 2623.3s -> 3022.1s (15.2%)
  8. x86_64-gnu-tools: 3501.7s -> 3955.9s (13.0%)
  9. i686-gnu-2: 5463.7s -> 6142.5s (12.4%)
  10. armhf-gnu: 4854.6s -> 5448.9s (12.2%)
How to interpret the job duration changes?

Job durations can vary a lot, based on the actual runner instance
that executed the job, system noise, invalidated caches, etc. The table above is provided
mostly for t-infra members, for simpler debugging of potential CI slow-downs.

@rust-timer
Copy link
Collaborator

📌 Perf builds for each rolled up PR:

PR# Message Perf Build Sha
#139345 Extend QueryStability to handle IntoIterator implementa… 28f1917f94c38147d3ce1a0bbc9e34d7119c48f3 (link)
#140740 Add -Zindirect-branch-cs-prefix 3eb4caefa2e46c3bf1cddff24f8e3da3d9db5244 (link)
#142079 nll-relate: improve hr opaque types support caae26573125c5a9aa681bac1b3fc69f402fe9da (link)
#142938 implement std::fs::set_permissions_nofollow on unix ede52e3dbcd4a3d9b4d4fd26655924ccc4d000b2 (link)
#143730 fmt of non-decimal radix untangled 1a3ec822c221880c3897360a227d4ce9738b0b4d (link)
#144767 Correct some grammar in integer documentation 0426f80adc55a7801cc65f17156d42a164ad2435 (link)
#144906 Require approval from t-infra instead of t-release on tier … cc4e84b22312d688f3a25dbe2c41e9c38e536d58 (link)
#144983 Rehome 37 tests/ui/issues/ tests to other subdirectories … 41d7bd6868cf9e128571d005bb09acd4aa11bd9a (link)
#145025 run spellcheck as a tidy extra check in ci df6ad37b5c35e969c755b80a21cceec6938b596f (link)
#145099 rustc_target: Add the 32s target feature for LoongArch 154ef519c939a12fc14fe56bb652d516fdf014ac (link)
#145166 suggest using pub(crate) for E0364 d1508118c2ea54659a391e83eee71699db22f12e (link)
#145255 dec2flt: Provide more valid inputs examples 4e81cf3ade84798e208c9401e93fdd095eec3921 (link)
#145306 Add tracing to various miscellaneous functions ba8005600adc091796abd8ce4918e73bc8e0ca16 (link)
#145336 Hide docs for core::unicode ad93dd4f022501ac32fda7abcdc192bd5887dbe6 (link)
#145585 Miri: fix handling of in-place argument and return place ha… 3f02af3e9d7a83c4dfd4f909d9972109281f11c6 (link)

previous master: 8c32e313cc

In the case of a perf regression, run the following command for each PR you suspect might be the cause: @rust-timer build $SHA

Kobzol pushed a commit to Kobzol/rust that referenced this pull request Aug 19, 2025
Rollup of 15 pull requests

Successful merges:

 - rust-lang#139345 (Extend `QueryStability` to handle `IntoIterator` implementations)
 - rust-lang#140740 (Add `-Zindirect-branch-cs-prefix`)
 - rust-lang#142079 (nll-relate: improve hr opaque types support)
 - rust-lang#142938 (implement std::fs::set_permissions_nofollow on unix)
 - rust-lang#143730 (fmt of non-decimal radix untangled)
 - rust-lang#144767 (Correct some grammar in integer documentation)
 - rust-lang#144906 (Require approval from t-infra instead of t-release on tier bumps)
 - rust-lang#144983 (Rehome 37 `tests/ui/issues/` tests to other subdirectories under `tests/ui/`)
 - rust-lang#145025 (run spellcheck as a tidy extra check in ci)
 - rust-lang#145099 (rustc_target: Add the `32s` target feature for LoongArch)
 - rust-lang#145166 (suggest using `pub(crate)` for E0364)
 - rust-lang#145255 (dec2flt: Provide more valid inputs examples)
 - rust-lang#145306 (Add tracing to various miscellaneous functions)
 - rust-lang#145336 (Hide docs for `core::unicode`)
 - rust-lang#145585 (Miri: fix handling of in-place argument and return place handling)

r? `@ghost`
`@rustbot` modify labels: rollup
@rust-timer
Copy link
Collaborator

Finished benchmarking commit (16ad385): comparison URL.

Overall result: ❌✅ regressions and improvements - please read the text below

Our benchmarks found a performance regression caused by this PR.
This might be an actual regression, but it can also be just noise.

Next Steps:

  • If the regression was expected or you think it can be justified,
    please write a comment with sufficient written justification, and add
    @rustbot label: +perf-regression-triaged to it, to mark the regression as triaged.
  • If you think that you know of a way to resolve the regression, try to create
    a new PR with a fix for the regression.
  • If you do not understand the regression or you think that it is just noise,
    you can ask the @rust-lang/wg-compiler-performance working group for help (members of this group
    were already notified of this PR).

@rustbot label: +perf-regression
cc @rust-lang/wg-compiler-performance

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.2% [0.2%, 0.2%] 1
Regressions ❌
(secondary)
0.2% [0.1%, 0.5%] 11
Improvements ✅
(primary)
-4.8% [-4.8%, -4.8%] 1
Improvements ✅
(secondary)
-4.6% [-4.6%, -4.6%] 1
All ❌✅ (primary) -2.3% [-4.8%, 0.2%] 2

Max RSS (memory usage)

Results (primary 0.8%, secondary 1.4%)

A less reliable metric. May be of interest, but not used to determine the overall result above.

mean range count
Regressions ❌
(primary)
2.9% [2.0%, 3.8%] 2
Regressions ❌
(secondary)
2.2% [1.8%, 2.4%] 3
Improvements ✅
(primary)
-3.3% [-3.3%, -3.3%] 1
Improvements ✅
(secondary)
-1.1% [-1.1%, -1.1%] 1
All ❌✅ (primary) 0.8% [-3.3%, 3.8%] 3

Cycles

Results (primary -4.4%, secondary -4.7%)

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)
-4.4% [-4.4%, -4.4%] 1
Improvements ✅
(secondary)
-4.7% [-4.7%, -4.7%] 1
All ❌✅ (primary) -4.4% [-4.4%, -4.4%] 1

Binary size

Results (primary -0.1%, secondary -0.2%)

A less reliable metric. May be of interest, but not used to determine the overall result above.

mean range count
Regressions ❌
(primary)
0.0% [0.0%, 0.0%] 3
Regressions ❌
(secondary)
- - 0
Improvements ✅
(primary)
-0.2% [-0.2%, -0.2%] 4
Improvements ✅
(secondary)
-0.2% [-0.2%, -0.1%] 37
All ❌✅ (primary) -0.1% [-0.2%, 0.0%] 7

Bootstrap: 470.631s -> 471.488s (0.18%)
Artifact size: 378.28 MiB -> 378.23 MiB (-0.01%)

@rustbot rustbot added the perf-regression Performance regression. label Aug 19, 2025
@jieyouxu jieyouxu deleted the rollup-523cxhm branch August 19, 2025 23:12
@Zalathar
Copy link
Contributor

@rust-timer

This comment has been minimized.

@rust-timer
Copy link
Collaborator

Finished benchmarking commit (ba80056): comparison URL.

Overall result: ❌ regressions - no action needed

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.3% [0.1%, 0.5%] 2
Improvements ✅
(primary)
- - 0
Improvements ✅
(secondary)
- - 0
All ❌✅ (primary) - - 0

Max RSS (memory usage)

Results (primary 1.9%)

A less reliable metric. May be of interest, but not used to determine the overall result above.

mean range count
Regressions ❌
(primary)
1.9% [1.1%, 2.6%] 2
Regressions ❌
(secondary)
- - 0
Improvements ✅
(primary)
- - 0
Improvements ✅
(secondary)
- - 0
All ❌✅ (primary) 1.9% [1.1%, 2.6%] 2

Cycles

Results (primary 2.7%, secondary 25.5%)

A less reliable metric. May be of interest, but not used to determine the overall result above.

mean range count
Regressions ❌
(primary)
2.7% [2.7%, 2.7%] 1
Regressions ❌
(secondary)
25.5% [23.8%, 28.3%] 3
Improvements ✅
(primary)
- - 0
Improvements ✅
(secondary)
- - 0
All ❌✅ (primary) 2.7% [2.7%, 2.7%] 1

Binary size

This benchmark run did not return any relevant results for this metric.

Bootstrap: 470.631s -> 471.082s (0.10%)
Artifact size: 378.28 MiB -> 378.24 MiB (-0.01%)

@Zalathar
Copy link
Contributor

@lqd
Copy link
Member

lqd commented Aug 20, 2025

(@Zalathar that's the PR you benchmarked earlier)

@Zalathar
Copy link
Contributor

@rust-timer

This comment has been minimized.

@rust-timer

This comment was marked as resolved.

@Zalathar
Copy link
Contributor

@rust-timer

This comment has been minimized.

@rust-timer
Copy link
Collaborator

Finished benchmarking commit (d150811): comparison URL.

Overall result: ❌ regressions - no action needed

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.1% [0.1%, 0.1%] 1
Improvements ✅
(primary)
- - 0
Improvements ✅
(secondary)
- - 0
All ❌✅ (primary) - - 0

Max RSS (memory usage)

Results (primary 1.4%, secondary -4.0%)

A less reliable metric. May be of interest, but not used to determine the overall result above.

mean range count
Regressions ❌
(primary)
1.4% [0.9%, 1.8%] 2
Regressions ❌
(secondary)
- - 0
Improvements ✅
(primary)
- - 0
Improvements ✅
(secondary)
-4.0% [-4.0%, -4.0%] 1
All ❌✅ (primary) 1.4% [0.9%, 1.8%] 2

Cycles

Results (secondary 3.3%)

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)
3.3% [2.5%, 4.5%] 3
Improvements ✅
(primary)
- - 0
Improvements ✅
(secondary)
- - 0
All ❌✅ (primary) - - 0

Binary size

This benchmark run did not return any relevant results for this metric.

Bootstrap: 470.631s -> 472.289s (0.35%)
Artifact size: 378.28 MiB -> 378.25 MiB (-0.01%)

@compiler-errors
Copy link
Member

compiler-errors commented Aug 20, 2025

@rust-timer

This comment has been minimized.

@rust-timer
Copy link
Collaborator

Finished benchmarking commit (28f1917): comparison URL.

Overall result: ❌✅ regressions and improvements - no action needed

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.2% [0.2%, 0.2%] 3
Improvements ✅
(primary)
- - 0
Improvements ✅
(secondary)
-0.2% [-0.2%, -0.1%] 5
All ❌✅ (primary) - - 0

Max RSS (memory usage)

Results (secondary -0.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)
3.4% [3.4%, 3.4%] 1
Improvements ✅
(primary)
- - 0
Improvements ✅
(secondary)
-3.8% [-3.8%, -3.8%] 1
All ❌✅ (primary) - - 0

Cycles

Results (primary 2.3%)

A less reliable metric. May be of interest, but not used to determine the overall result above.

mean range count
Regressions ❌
(primary)
2.3% [2.3%, 2.3%] 1
Regressions ❌
(secondary)
- - 0
Improvements ✅
(primary)
- - 0
Improvements ✅
(secondary)
- - 0
All ❌✅ (primary) 2.3% [2.3%, 2.3%] 1

Binary size

This benchmark run did not return any relevant results for this metric.

Bootstrap: 470.631s -> 473.35s (0.58%)
Artifact size: 378.28 MiB -> 378.18 MiB (-0.03%)

@lqd
Copy link
Member

lqd commented Aug 20, 2025

What are we looking for? The source of the 10 small doc regressions?

Maybe @rust-timer build ad93dd4

@rust-timer

This comment has been minimized.

@rust-timer
Copy link
Collaborator

Finished benchmarking commit (ad93dd4): comparison URL.

Overall result: ❌ regressions - no action needed

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.1% [0.1%, 0.1%] 1
Improvements ✅
(primary)
- - 0
Improvements ✅
(secondary)
- - 0
All ❌✅ (primary) - - 0

Max RSS (memory usage)

This benchmark run did not return any relevant results for this metric.

Cycles

Results (secondary 12.9%)

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)
12.9% [4.1%, 15.9%] 4
Improvements ✅
(primary)
- - 0
Improvements ✅
(secondary)
- - 0
All ❌✅ (primary) - - 0

Binary size

This benchmark run did not return any relevant results for this metric.

Bootstrap: 470.631s -> 470.323s (-0.07%)
Artifact size: 378.28 MiB -> 378.16 MiB (-0.03%)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-CI Area: Our Github Actions CI A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. A-testsuite Area: The testsuite used to check the correctness of rustc A-tidy Area: The tidy tool merged-by-bors This PR was explicitly merged by bors. perf-regression Performance regression. rollup A PR which is a rollup S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-infra Relevant to the infrastructure team, which will review and decide on the PR/issue. T-libs Relevant to the library team, which will review and decide on the PR/issue. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. T-rustdoc-frontend Relevant to the rustdoc-frontend team, which will review and decide on the web UI/UX output. WG-trait-system-refactor The Rustc Trait System Refactor Initiative (-Znext-solver)
Projects
None yet
Development

Successfully merging this pull request may close these issues.