Skip to content

collect delayed lints in hir_crate_items #142455

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jdonszelmann
Copy link
Contributor

@jdonszelmann jdonszelmann commented Jun 13, 2025

r? @oli-obk

Attempt to mitigate perf problems in #138164

@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 Jun 13, 2025
@jdonszelmann
Copy link
Contributor Author

@bors try @rust-timer queue

@rust-timer

This comment has been minimized.

@rustbot rustbot added the S-waiting-on-perf Status: Waiting on a perf run to be completed. label Jun 13, 2025
bors added a commit that referenced this pull request Jun 13, 2025
…-perf-problems, r=<try>

collect delayed lints in hir_crate_items

r? `@oli-obk`

Attempt to mitigate perf problems in #138164
@bors
Copy link
Collaborator

bors commented Jun 13, 2025

⌛ Trying commit 6f5a717 with merge 437cd00...

@bors
Copy link
Collaborator

bors commented Jun 13, 2025

☀️ Try build successful - checks-actions
Build commit: 437cd00 (437cd0066d76142190dee1c502aa6e12d2212196)

@rust-timer

This comment has been minimized.

@rust-timer
Copy link
Collaborator

Finished benchmarking commit (437cd00): 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.5% [0.5%, 0.5%] 1
Improvements ✅
(primary)
-0.4% [-0.8%, -0.1%] 101
Improvements ✅
(secondary)
-0.8% [-2.5%, -0.2%] 53
All ❌✅ (primary) -0.4% [-0.8%, -0.1%] 101

Max RSS (memory usage)

Results (primary -2.6%, secondary -3.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)
2.7% [2.6%, 2.9%] 2
Improvements ✅
(primary)
-2.6% [-6.6%, -0.8%] 4
Improvements ✅
(secondary)
-6.2% [-11.5%, -1.8%] 5
All ❌✅ (primary) -2.6% [-6.6%, -0.8%] 4

Cycles

Results (primary -1.4%, secondary -1.8%)

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.2% [2.1%, 2.3%] 2
Improvements ✅
(primary)
-1.4% [-1.4%, -1.4%] 1
Improvements ✅
(secondary)
-2.7% [-3.5%, -1.4%] 9
All ❌✅ (primary) -1.4% [-1.4%, -1.4%] 1

Binary size

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

Bootstrap: 754.993s -> 757.521s (0.33%)
Artifact size: 372.27 MiB -> 372.22 MiB (-0.01%)

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

Well, it looks like that helps a bit

@oli-obk
Copy link
Contributor

oli-obk commented Jun 13, 2025

@bors r+

@bors
Copy link
Collaborator

bors commented Jun 13, 2025

📌 Commit 6f5a717 has been approved by oli-obk

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 Jun 13, 2025
@jdonszelmann
Copy link
Contributor Author

Not quite sure it's all of it but it seems like a good change @oli?

@jdonszelmann
Copy link
Contributor Author

Ah, already r plussed ,Ty :3

@jdonszelmann
Copy link
Contributor Author

oh sorry oli, meant to ping the other one hehe

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants