Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lazy load other things from the cache #4386

Open
manuroe opened this issue Jun 3, 2021 · 0 comments
Open

Lazy load other things from the cache #4386

manuroe opened this issue Jun 3, 2021 · 0 comments

Comments

@manuroe
Copy link
Member

manuroe commented Jun 3, 2021

After #4382, #4383, #4384, #4385, we may want to lazy load MXUsers and MXGroups but the gain will be minimal comparing to others.

We want to kill the 71ms and 1ms in this log:

[MXFileStore] Start data loading from files
[MXFileStore] Loaded room messages of 625 rooms in 828ms
[MXFileStore] Loaded rooms summaries data of 625 rooms in 572ms
[MXFileStore] Loaded rooms account data of 625 rooms in 359ms
[MXFileStore] Loaded read receipts of 625 rooms in 1035ms
[MXFileStore] Loaded 2164 MXUsers in 71ms
[MXFileStore] Loaded 2 MXGroups in 1ms
[MXBaseProfiler] Task startup - storePreload for 625 units completed in 2870.760ms
[MXFileStore] Data loaded from files in 2871ms
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant