Skip to content

Enable DestinationPropagation by default #142915

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

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

cjgillot
Copy link
Contributor

r? @ghost

@rustbot rustbot added the T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. label Jun 23, 2025
@cjgillot
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 23, 2025
bors added a commit that referenced this pull request Jun 23, 2025
Enable DestinationPropagation by default

r? `@ghost`
@bors
Copy link
Collaborator

bors commented Jun 23, 2025

⌛ Trying commit b835228 with merge 2989fd8...

@cjgillot cjgillot added the A-mir-opt Area: MIR optimizations label Jun 23, 2025
@bors
Copy link
Collaborator

bors commented Jun 23, 2025

☀️ Try build successful - checks-actions
Build commit: 2989fd8 (2989fd868755417871c65b8864528f20125af5bc)

@rust-timer

This comment has been minimized.

@rust-timer
Copy link
Collaborator

Finished benchmarking commit (2989fd8): comparison URL.

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

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.

Next Steps: If you can justify the regressions found in this try perf run, please do so in sufficient writing along with @rustbot label: +perf-regression-triaged. If not, please fix the regressions and do another perf run. If its results are neutral or positive, the label will be automatically removed.

@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.7% [0.2%, 3.1%] 27
Regressions ❌
(secondary)
0.6% [0.2%, 2.5%] 36
Improvements ✅
(primary)
-0.4% [-1.7%, -0.1%] 60
Improvements ✅
(secondary)
-0.7% [-2.9%, -0.2%] 71
All ❌✅ (primary) -0.0% [-1.7%, 3.1%] 87

Max RSS (memory usage)

Results (primary 0.7%, secondary 1.6%)

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

mean range count
Regressions ❌
(primary)
5.6% [1.7%, 10.5%] 5
Regressions ❌
(secondary)
1.6% [1.4%, 2.2%] 9
Improvements ✅
(primary)
-4.3% [-5.9%, -2.5%] 5
Improvements ✅
(secondary)
- - 0
All ❌✅ (primary) 0.7% [-5.9%, 10.5%] 10

Cycles

Results (primary 0.3%, secondary -1.0%)

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

mean range count
Regressions ❌
(primary)
1.0% [0.5%, 1.4%] 5
Regressions ❌
(secondary)
3.1% [1.8%, 4.4%] 3
Improvements ✅
(primary)
-1.5% [-1.7%, -1.3%] 2
Improvements ✅
(secondary)
-2.6% [-3.5%, -1.5%] 8
All ❌✅ (primary) 0.3% [-1.7%, 1.4%] 7

Binary size

Results (primary -0.0%, secondary 0.1%)

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

mean range count
Regressions ❌
(primary)
0.2% [0.0%, 0.4%] 22
Regressions ❌
(secondary)
0.4% [0.0%, 2.0%] 94
Improvements ✅
(primary)
-0.1% [-1.0%, -0.0%] 54
Improvements ✅
(secondary)
-1.0% [-13.0%, -0.0%] 28
All ❌✅ (primary) -0.0% [-1.0%, 0.4%] 76

Bootstrap: 688.878s -> 687.306s (-0.23%)
Artifact size: 371.92 MiB -> 371.62 MiB (-0.08%)

@rustbot rustbot added perf-regression Performance regression. and removed S-waiting-on-perf Status: Waiting on a perf run to be completed. labels Jun 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-mir-opt Area: MIR optimizations perf-regression Performance regression. 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.

4 participants