Skip to content

Conversation

camsteffen
Copy link
Contributor

I found several opportunities to return early so I'm hoping those will have a perf improvement. Otherwise, it's various refactors for simplicity.

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Sep 22, 2025
@rustbot
Copy link
Collaborator

rustbot commented Sep 22, 2025

r? @fee1-dead

rustbot has assigned @fee1-dead.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

@rust-log-analyzer

This comment has been minimized.

@rustbot

This comment has been minimized.

@rust-log-analyzer

This comment has been minimized.

@jieyouxu
Copy link
Member

@bors try @rust-timer queue

@rust-timer

This comment has been minimized.

@rust-bors

This comment has been minimized.

rust-bors bot added a commit that referenced this pull request Sep 23, 2025
mismatched_lifetime_syntax lint refactors and optimizations
@rustbot rustbot added the S-waiting-on-perf Status: Waiting on a perf run to be completed. label Sep 23, 2025
@jieyouxu jieyouxu added L-mismatched_lifetime_syntaxes Lint: mismatched_lifetime_syntaxes S-waiting-on-perf Status: Waiting on a perf run to be completed. and removed S-waiting-on-perf Status: Waiting on a perf run to be completed. labels Sep 23, 2025
@rust-bors
Copy link

rust-bors bot commented Sep 23, 2025

☀️ Try build successful (CI)
Build commit: 449ebb3 (449ebb32e12d5a3b8a3eff0898c5ebf9075fea63, parent: f6092f224d2b1774b31033f12d0bee626943b02f)

@rust-timer

This comment has been minimized.

@rust-timer
Copy link
Collaborator

Finished benchmarking commit (449ebb3): comparison URL.

Overall result: ✅ improvements - no action needed

Benchmarking this pull request means it may be perf-sensitive – we'll automatically label it not fit for rolling up. You can override this, but we strongly advise not to, due to possible changes in compiler perf.

@bors rollup=never
@rustbot label: -S-waiting-on-perf -perf-regression

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

Max RSS (memory usage)

Results (primary -1.7%, secondary 1.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)
1.2% [1.2%, 1.2%] 1
Improvements ✅
(primary)
-1.7% [-2.3%, -0.9%] 3
Improvements ✅
(secondary)
- - 0
All ❌✅ (primary) -1.7% [-2.3%, -0.9%] 3

Cycles

Results (secondary -0.6%)

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)
2.7% [2.7%, 2.7%] 1
Improvements ✅
(primary)
- - 0
Improvements ✅
(secondary)
-2.3% [-2.6%, -2.0%] 2
All ❌✅ (primary) - - 0

Binary size

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

Bootstrap: 471.715s -> 472.096s (0.08%)
Artifact size: 389.94 MiB -> 389.96 MiB (0.00%)

@rustbot rustbot removed the S-waiting-on-perf Status: Waiting on a perf run to be completed. label Sep 23, 2025
Copy link
Contributor

@mu001999 mu001999 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@fee1-dead
Copy link
Member

Thanks!
@bors r+

@bors
Copy link
Collaborator

bors commented Oct 2, 2025

📌 Commit c4074bd has been approved by fee1-dead

It is now in the queue for this repository.

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Oct 2, 2025
bors added a commit that referenced this pull request Oct 2, 2025
mismatched_lifetime_syntax lint refactors and optimizations I found several opportunities to return early so I'm hoping those will have a perf improvement. Otherwise, it's various refactors for simplicity.
@bors
Copy link
Collaborator

bors commented Oct 2, 2025

⌛ Testing commit c4074bd with merge db43546...

@rust-log-analyzer

This comment has been minimized.

@bors
Copy link
Collaborator

bors commented Oct 2, 2025

💔 Test failed - checks-actions

@bors bors added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Oct 2, 2025
@fee1-dead
Copy link
Member

r=me after failure is fixed

@fee1-dead fee1-dead added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Oct 2, 2025
@camsteffen camsteffen force-pushed the refactor-lint-syntax branch from c4074bd to f0eea4c Compare October 4, 2025 18:41
@rustbot
Copy link
Collaborator

rustbot commented Oct 4, 2025

This PR was rebased onto a different master commit. Here's a range-diff highlighting what actually changed.

Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers.

@camsteffen
Copy link
Contributor Author

camsteffen commented Oct 4, 2025

@rustbot ready

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Oct 4, 2025
@rust-log-analyzer
Copy link
Collaborator

The job x86_64-gnu-tools failed! Check out the build log: (web) (plain enhanced) (plain)

Click to see the possible cause of the failure (guessed by this bot)
[WARNING] `tests/rustdoc-gui/search-result-display.goml` line 39: Delta is 0 for "x", maybe try to use `compare-elements-position` instead? ======== tests/rustdoc-gui/sidebar.goml ======== [ERROR] `tests/rustdoc-gui/sidebar.goml` line 247: TimeoutError: Timed out after waiting 30000ms: for command `assert-css: ("#rustdoc-toc", {"display": "block"})` [ERROR] `tests/rustdoc-gui/sidebar.goml` line 248: TimeoutError: Timed out after waiting 30000ms: for command `assert-css: (".sidebar .in-crate", {"display": "block"})` [ERROR] `tests/rustdoc-gui/sidebar.goml` line 250: TimeoutError: Timed out after waiting 30000ms: for command `set-local-storage: {"rustdoc-hide-modnav": "true"}` <= doc-ui tests done: 141 succeeded, 1 failed, 0 filtered out Error: () 
@camsteffen
Copy link
Contributor Author

Looks like a flaky test. But I'm pretty sure this is ready @bors r=fee1-dead

@bors
Copy link
Collaborator

bors commented Oct 4, 2025

@camsteffen: 🔑 Insufficient privileges: Not in reviewers

@fee1-dead
Copy link
Member

@bors r+

@bors
Copy link
Collaborator

bors commented Oct 17, 2025

📌 Commit f0eea4c has been approved by fee1-dead

It is now in the queue for this repository.

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Oct 17, 2025
@bors
Copy link
Collaborator

bors commented Oct 18, 2025

⌛ Testing commit f0eea4c with merge 32892a3...

@bors
Copy link
Collaborator

bors commented Oct 18, 2025

☀️ Test successful - checks-actions
Approved by: fee1-dead
Pushing 32892a3 to master...

@bors bors added the merged-by-bors This PR was explicitly merged by bors. label Oct 18, 2025
@bors bors merged commit 32892a3 into rust-lang:master Oct 18, 2025
19 of 21 checks passed
@rustbot rustbot added this to the 1.92.0 milestone Oct 18, 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 2170b4d (parent) -> 32892a3 (this PR)

Test differences

Show 16 test diffs

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

Test dashboard

Run

cargo run --manifest-path src/ci/citool/Cargo.toml -- \ test-dashboard 32892a37b491e0bb8ffdf8aa6df14d3401c5684e --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. pr-check-1: 1756.7s -> 1424.0s (-18.9%)
  2. aarch64-apple: 8256.0s -> 7153.9s (-13.3%)
  3. i686-gnu-2: 6148.4s -> 5474.8s (-11.0%)
  4. x86_64-gnu-gcc: 3389.2s -> 3062.7s (-9.6%)
  5. x86_64-rust-for-linux: 2976.1s -> 2696.3s (-9.4%)
  6. aarch64-gnu-debug: 4288.7s -> 3891.1s (-9.3%)
  7. aarch64-gnu-llvm-20-1: 3606.0s -> 3299.7s (-8.5%)
  8. test-various: 4860.6s -> 4503.5s (-7.3%)
  9. x86_64-gnu-stable: 7581.3s -> 7034.6s (-7.2%)
  10. armhf-gnu: 5270.2s -> 4913.0s (-6.8%)
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

Finished benchmarking commit (32892a3): comparison URL.

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

@rustbot label: -perf-regression

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.2% [-0.3%, -0.1%] 4
All ❌✅ (primary) - - 0

Max RSS (memory usage)

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)
- - 0
Regressions ❌
(secondary)
- - 0
Improvements ✅
(primary)
-2.3% [-2.3%, -2.2%] 2
Improvements ✅
(secondary)
- - 0
All ❌✅ (primary) -2.3% [-2.3%, -2.2%] 2

Cycles

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

Binary size

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

Bootstrap: 475.309s -> 475.327s (0.00%)
Artifact size: 390.33 MiB -> 390.40 MiB (0.02%)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

L-mismatched_lifetime_syntaxes Lint: mismatched_lifetime_syntaxes merged-by-bors This PR was explicitly merged by bors. S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

8 participants