Skip to content

Create and make use of a cache for entry groups.#1558

Open
AlexanderVanhee wants to merge 1 commit into
bazaar-org:mainfrom
AlexanderVanhee:entry-group-cache
Open

Create and make use of a cache for entry groups.#1558
AlexanderVanhee wants to merge 1 commit into
bazaar-org:mainfrom
AlexanderVanhee:entry-group-cache

Conversation

@AlexanderVanhee
Copy link
Copy Markdown
Collaborator

We can save a lot of time by not having to deserialize all the entries at startup just to be able to create the entry groups.
All functionality that I tested still seems to work fine.

On my PC, the time from the init timer creation until the end of the init fiber is now around 825 ms. Ideally, I want to reduce it even further by looking for other optimizations, such as parallelizing the deserialization of the Flathub and entry group caches, or parallelizing or deferring some other tasks that happen during initialization. All for the ultimate goal of nothing having a loading timer visible to the user.

@AlexanderVanhee AlexanderVanhee self-assigned this May 26, 2026
@AlexanderVanhee AlexanderVanhee requested a review from kolunmi as a code owner May 26, 2026 09:36
@AlexanderVanhee AlexanderVanhee added the enhancement New feature or request label May 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant