Skip to content

rustdoc renders items synchronously  #82294

Closed
@rylev

Description

@rylev

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 as clean::Item and html::rendered::Context are not Send for many different reasons some of which include the fact that they use datastructures from rustc that are not Send (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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-enhancementCategory: An issue proposing an enhancement or a PR with one.I-compiletimeIssue: Problems and improvements with respect to compile times.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions