-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
A third of the time rustdoc takes to document windows-rs is <unknown> #81251
Copy link
Copy link
Closed
Labels
A-self-profileArea: Self-profiling feature of the compilerArea: Self-profiling feature of the compilerC-bugCategory: This is a bug.Category: This is a bug.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.Relevant to the rustdoc team, which will review and decide on the PR/issue.WG-compiler-performanceWorking group: Compiler PerformanceWorking group: Compiler Performance
Metadata
Metadata
Assignees
Labels
A-self-profileArea: Self-profiling feature of the compilerArea: Self-profiling feature of the compilerC-bugCategory: This is a bug.Category: This is a bug.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.Relevant to the rustdoc team, which will review and decide on the PR/issue.WG-compiler-performanceWorking group: Compiler PerformanceWorking group: Compiler Performance
Type
Fields
Give feedbackNo fields configured for issues without a type.
I tried this code: microsoft/windows-docs-rs@3371c03
I expected to see this happen:
cargo rustdoc -- -Z self-profileshows where the 50 minutes are being spent.Instead, this happened: Rustdoc completely loses 20 of the 50 minutes and gives up.
Here's the top 6 items from
summarize summarize:Note that
<unknown>is at the top.cc microsoft/windows-rs#420, #74590 (comment)
Meta
rustdoc --version:rustdoc 1.51.0-nightly (a4cbb44ae 2021-01-20)