Skip to content

rustdoc search in std for complex signature is significantly slower #146015

@cyrgani

Description

@cyrgani

Using the suggested example search Option<T>, (T -> U) -> Option<U> on nightly std docs (link) now takes around 20 seconds to finish for me.
Trying this out on stable still finishes much faster, in around one second (link).
Likely because of #144476.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-rustdoc-searchArea: Rustdoc's search featureC-bugCategory: This is a bug.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.T-rustdoc-frontendRelevant to the rustdoc-frontend team, which will review and decide on the web UI/UX output.regression-from-stable-to-nightlyPerformance or correctness regression from stable to nightly.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions