Closed as not planned
Closed as not planned
Description
This is a link to a source page that is ~30k lines of code, with a 2.6 MB HTML file:
https://doc.rust-lang.org/src/core/stdarch/crates/core_arch/src/aarch64/neon/generated.rs.html
On my Firefox on Windows, loading that page hangs the entire browser (other tabs) and slows down the whole OS for almost a full minute. Why this isn't better contained to a single tab I have no idea, but it seems like there is room for improvement here.
Maybe source could be rendered as plain text without colors when they exceed a complexity limit?
Metadata
Metadata
Assignees
Labels
Area: Rustdoc UI (generated HTML)Category: This is a bug.Issue: Problems and improvements with respect to performance of generated code.Relevant to the rustdoc team, which will review and decide on the PR/issue.Relevant to the rustdoc-frontend team, which will review and decide on the web UI/UX output.