element-hq / element-hq/element-ios

Room lists update is slow and blocks the UI

Open
#3,777 1 comment 0 reactions 0 assignees View on GitHub
performance ui-freeze
Dominant language
Swift
Stars
1.8k
Forks
544
PR merge metrics
PR metrics pending

Description

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.