Skip to content

Conversation

lolbinarycat
Copy link
Contributor

No description provided.

@rustbot rustbot added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. labels Oct 8, 2025
@lolbinarycat
Copy link
Contributor Author

@bors2 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 Oct 8, 2025
…pls-no-clone, r=<try>

rustdoc: remove redundant clone in synthesize_auto_trait_impls
@rustbot rustbot added the S-waiting-on-perf Status: Waiting on a perf run to be completed. label Oct 8, 2025
@rust-log-analyzer

This comment has been minimized.

@fmease
Copy link
Member

fmease commented Oct 8, 2025

@bors try cancel

@rust-bors
Copy link

rust-bors bot commented Oct 8, 2025

Try build cancelled. Cancelled workflows:

@lolbinarycat lolbinarycat force-pushed the rustdoc-synthesize_auto_trait_impls-no-clone branch from 8263cf9 to b7b61a5 Compare October 8, 2025 19:43
@lolbinarycat
Copy link
Contributor Author

Whoops.

I'm just gonna hack this with mem::take to get an idea of if this could save enough time to be worth doing properly.

@bors2 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 Oct 8, 2025
…pls-no-clone, r=<try>

rustdoc: remove redundant clone in synthesize_auto_trait_impls
@rust-bors
Copy link

rust-bors bot commented Oct 9, 2025

💥 Test timed out after 21600s

@lolbinarycat
Copy link
Contributor Author

Well I've never seen that happen before.

@lolbinarycat
Copy link
Contributor Author

@bors2 try @rust-timer queue

uhh hoping it's just spurious failure?

@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 Oct 9, 2025
…pls-no-clone, r=<try>

rustdoc: remove redundant clone in synthesize_auto_trait_impls
@rust-bors
Copy link

rust-bors bot commented Oct 9, 2025

☀️ Try build successful (CI)
Build commit: 517ceea (517ceea73228d74d525d2173560e2024a2322bc3, parent: 4b57d8154a6a74d2514cd3a674c1f29a588f224a)

@rust-timer

This comment has been minimized.

@rust-timer
Copy link
Collaborator

Finished benchmarking commit (517ceea): comparison URL.

Overall result: ❌ regressions - 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
Regressions ❌
(secondary)
0.3% [0.2%, 0.6%] 8
Improvements ✅
(primary)
- - 0
Improvements ✅
(secondary)
-0.6% [-0.6%, -0.6%] 1
All ❌✅ (primary) - - 0

Max RSS (memory usage)

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

Cycles

Results (primary -2.2%, secondary -2.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.8% [1.7%, 1.9%] 2
Improvements ✅
(primary)
-2.2% [-2.2%, -2.2%] 1
Improvements ✅
(secondary)
-3.4% [-4.4%, -2.1%] 7
All ❌✅ (primary) -2.2% [-2.2%, -2.2%] 1

Binary size

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

Bootstrap: 473.051s -> 471.373s (-0.35%)
Artifact size: 388.38 MiB -> 388.36 MiB (-0.00%)

@rustbot rustbot added perf-regression Performance regression. and removed S-waiting-on-perf Status: Waiting on a perf run to be completed. labels Oct 9, 2025
@lolbinarycat
Copy link
Contributor Author

Ok, so this is not worth doing, got it. Unsure if the redundant allocation is getting optimized away, or if removing it is causing some slightly worse caching, but in any case, this isn't worth it.

@lolbinarycat
Copy link
Contributor Author

Well I've never seen that happen before.

@rustbot rustbot removed the S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. label Oct 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
perf-regression Performance regression. T-rustdoc Relevant to the rustdoc 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