Skip to content

[continuous] Early & rough perf experiments - #146483

Draft
fmease wants to merge 14 commits into
rust-lang:mainfrom
fmease:rustdoc-gen-mac-exp-perf-fix
Draft

fmease wants to merge 14 commits into
rust-lang:mainfrom
fmease:rustdoc-gen-mac-exp-perf-fix

Conversation

@fmease

@fmease fmease commented Sep 12, 2025 •

Copy link
Copy Markdown
Member

View all comments

Note

No need to conduct triage on this PR. This is just a personal playground for very early / rough perf experiments.

@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. T-rustdoc-frontend Relevant to the rustdoc-frontend team, which will review and decide on the web UI/UX output. labels Sep 12, 2025
@fmease

This comment was marked as resolved.

@rust-timer

This comment has been minimized.

rust-bors Bot added a commit that referenced this pull request Sep 12, 2025
[perf] rustdoc: Don't obtain early resolver unless `--generate-macro-expansion`
@rust-bors

This comment has been minimized.

@rustbot rustbot added the S-waiting-on-perf Status: Waiting on a perf run to be completed. label Sep 12, 2025
@rust-bors

This comment was marked as resolved.

@rust-timer

This comment has been minimized.

@rust-timer

This comment was marked as resolved.

@rustbot rustbot removed the S-waiting-on-perf Status: Waiting on a perf run to be completed. label Sep 12, 2025
@fmease fmease changed the title [perf] rustdoc: Don't obtain early resolver unless --generate-macro-expansion [perf] rustdoc Sep 12, 2025
@rustbot rustbot added A-run-make Area: port run-make Makefiles to rmake.rs A-rustdoc-json Area: Rustdoc JSON backend labels Sep 13, 2025
@fmease

This comment was marked as resolved.

@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 13, 2025
@rustbot rustbot added the S-waiting-on-perf Status: Waiting on a perf run to be completed. label Sep 13, 2025
@fmease fmease added S-experimental Status: Ongoing experiment that does not require reviewing and won't be merged in its current state. and removed S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Sep 13, 2025
@rust-bors

This comment was marked as resolved.

@rust-timer

This comment has been minimized.

@rust-timer

This comment was marked as resolved.

@rustbot rustbot removed the S-waiting-on-perf Status: Waiting on a perf run to be completed. label Sep 13, 2025
@fmease
fmease force-pushed the rustdoc-gen-mac-exp-perf-fix branch from abca022 to b204031 Compare September 13, 2025 16:59
@fmease

This comment was marked as resolved.

@rust-timer

This comment has been minimized.

@rust-bors

This comment has been minimized.

@fmease
fmease restored the rustdoc-gen-mac-exp-perf-fix branch November 24, 2026 20:30
@fmease fmease added the rla-silenced Silences rust-log-analyzer postings to the PR it's added on. label Nov 24, 2026
@fmease fmease reopened this Nov 24, 2026
@rustbot rustbot added the S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. label Nov 24, 2026
@fmease fmease changed the title [DO NOT MERGE OR REVIEW] Early perf experiments [continuous] Early & rough perf experiments Nov 24, 2026
@fmease fmease closed this Nov 24, 2026
@fmease
fmease force-pushed the rustdoc-gen-mac-exp-perf-fix branch from ac3f32d to c7d5ba5 Compare November 24, 2026 20:35
@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 Nov 24, 2026
@fmease fmease reopened this Nov 24, 2026
@rustbot rustbot added the S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. label Nov 24, 2026
@fmease
fmease force-pushed the rustdoc-gen-mac-exp-perf-fix branch from c6b33a4 to ac5e6c6 Compare November 24, 2026 20:47
@fmease

fmease commented Nov 24, 2026

Copy link
Copy Markdown
Member 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 Nov 24, 2026
rust-bors Bot pushed a commit that referenced this pull request Nov 24, 2026
[continuous] Early & rough perf experiments
@rust-bors

This comment has been minimized.

@rust-bors

rust-bors Bot commented Nov 24, 2026

Copy link
Copy Markdown
Contributor

☀️ Try build successful (CI)
Build commit: 8ef33cb (8ef33cbe647e64eca8f037c6fc73decb0730b45e)
Base parent: 4cedc6b (4cedc6bd576618ca90bc479c67e4ba16892a6188)

@rust-timer

This comment has been minimized.

@rust-timer

Copy link
Copy Markdown

Finished benchmarking commit (8ef33cb): comparison URL.

Overall result: ❌ regressions - no action needed

Benchmarking means the PR may be perf-sensitive. Consider adding rollup=never if this change is not fit for rolling up.

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

Max RSS (memory usage)

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

Cycles

Results (secondary 1.1%)

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

Binary size

This perf run didn't have relevant results for this metric.

Bootstrap: 461.503s -> 472.501s (2.38%)
Artifact size: 406.39 MiB -> 406.42 MiB (0.01%)

@rustbot rustbot removed the S-waiting-on-perf Status: Waiting on a perf run to be completed. label Nov 24, 2026

This branch has not been deployed

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

Labels

rla-silenced Silences rust-log-analyzer postings to the PR it's added on. S-experimental Status: Ongoing experiment that does not require reviewing and won't be merged in its current state. 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. T-rustdoc-frontend Relevant to the rustdoc-frontend team, which will review and decide on the web UI/UX output.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants