Skip to content

[General - Performance] Improve Frontend Performance #1856

Closed
@flavioislima

Description

@flavioislima

Problem description

Currently, Heroic loads the whole list of games at once on startup so this is pretty bad for performance since the bigger the library, the slower and heavy it will be.

Feature description

Heroic should handle the Library logic on the backend. So the merging of different libraries, filters, etc. should be done there.
The list should come to the frontend split by pages.
The frontend should have a method to get the next pages.
25 seems like a good number of items to start, but we could test with bigger or smaller numbers as well.
The search method should be handle on backend as well, finding the list of elements and sending it back to frontend.

Alternatives

No response

Additional information

I think this is critical since even for average libraries like 200 to 300 games, on devices like Steam Deck Heroic is using 1GB of Ram and the interface is not really responsive.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions