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

Room lists update is slow and blocks the UI #3777

Open
manuroe opened this issue Oct 30, 2020 · 1 comment
Open

Room lists update is slow and blocks the UI #3777

manuroe opened this issue Oct 30, 2020 · 1 comment

Comments

@manuroe
Copy link
Member

manuroe commented Oct 30, 2020

Logs say:

2020-10-28 08:16:03.249 Riot[1332:479726] [RecentsDataSource] refreshRoomsSections: Done in 1107ms

This happens almost at every /sync because a new message refreshes the last message of a room summary, which refreshes the room list.

This is time to implement smart update of cells within a UITableViewCell: https://github.com/matrix-org/matrix-ios-kit/blob/v0.12.26/MatrixKit/Models/MXKDataSource.h#L168 instead of reloading all the table every time.

@manuroe
Copy link
Member Author

manuroe commented Jun 7, 2021

#4384 will change the storage layer of room summaries. It will impact performance regarding this issue a lot.

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