Skip to content

Activity pages are slow for larger repositories #34974

@lunny

Description

@lunny

This is general problem with how pages are rendered.

https://gitea.com/lunny/kernel-source/activity/monthly takes 16s

https://gitea.com/lunny/kernel-source/activity/quarterly does not finish, ever.

It looks like the page is rendered on the server and then sent in one go.

This leaves the user with a blank page and timeout.

It appears that most forges would use client-side scripting to load large data.

However, the server could send the page chunked - send the header first, and the data as it is generated, and if needed some extra filler when data takes too long to process to avoid timeouts.

In ancient past it was also possible to load data in a frame which is now deprecated in favor of javascript scripting of loads.

Not sure if static HTML can be used to load another page as an element content.

Originally posted by @hramrach in #27864

Metadata

Metadata

Assignees

No one assigned

    Labels

    performance/bigrepoPerformance Issues affecting Big Repositoriesperformance/speedperformance issues with slow downs

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions