Skip to content

AppStream.Pool: Don't load OS catalog#2428

Merged
danirabbit merged 1 commit intomainfrom
leolost/dont-load-os-catalog
Mar 1, 2026
Merged

AppStream.Pool: Don't load OS catalog#2428
danirabbit merged 1 commit intomainfrom
leolost/dont-load-os-catalog

Conversation

@leolost2605
Copy link
Copy Markdown
Member

LOAD_OS_CATALOG makes the pool load the appstream data for all deb packages which we just filter out since they aren't flatpak packages.
We actually don't want the pool to load anything by default because we add extra data locations for our own cache.
I measured a rough performance improvement by 20-25%.
I also confirmed we get the exact same number of packages with and without this.

@leolost2605 leolost2605 requested a review from a team February 28, 2026 11:31
Copy link
Copy Markdown
Member

@danirabbit danirabbit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hell yeah 🚀

@danirabbit danirabbit merged commit d96ccde into main Mar 1, 2026
4 checks passed
@danirabbit danirabbit deleted the leolost/dont-load-os-catalog branch March 1, 2026 16:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants