Skip to content

Documentation performance. #403

@mikelittle

Description

@mikelittle

Within my local development environment it takes around 12 seconds to display the Developer docs documentation page.
On our infrastructure (altis.dev) it takes about 11 seconds.
On Github codespaces it takes less than 3 seconds.

My local environment is a M1 Macbook with 4CPUs and 7.9GB of memory allocated to Docker.
My codespaces environment it 4 cores and 8GB of memory.

I'd expect a similar performance from all environments.

I think we need to look at caching the documentation tree, so we don't have to parse every module directory and file, for every request.

Metadata

Metadata

Assignees

No one assigned

    Labels

    developer advocacyDeveloper Advocacy related tasksshould haveShould be done, medium priority for now

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions