Skip to content

Suggestion: parallelization of the build pipeline (or part of it) #2858

@langestefan

Description

@langestefan

I frequently have to wait a significant amount of time while building docs using Documenter.jl. Now when building docs as part of the CI, this is not such a huge problem. But when developing (using LiveServer.jl) it can slow you down quite a lot.

After some profiling, I found that by far the slowest step for me is expanding templates and (much less so) jldoctest. Since each template runs in its own (named) context, the most logical solution to me would be to parallelize this step first.

I am just looking for some feedback on whether this would be a wanted feature or not. Of course, this will feature would have to be backwards compatible, opt-in, and well-tested. It will require significant modification of the build pipeline because it is currently not set-up for multi-threading.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions