rustdoc renders items synchronously #82294
Labels
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
I-compiletime
Issue: Problems and improvements with respect to compile times.
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
Currently
rustdoc
is rendering every item synchronously meaning that when there are many, many items, it takes longer than it would if these items could be processed in parallel. Moving this to being parallel won't be easy asclean::Item
andhtml::rendered::Context
are notSend
for many different reasons some of which include the fact that they use datastructures fromrustc
that are notSend
(which will rely on turning on parallel compilation to get working).First steps to improving this is to find out where most of the time in rendering is being spent and improving that.
The text was updated successfully, but these errors were encountered: