| Summary: | Lag spike when viewing room info with lots of members | ||
|---|---|---|---|
| Product: | [Applications] NeoChat | Reporter: | Jan Bidler <janbidler00> |
| Component: | General | Assignee: | Tobias Fella <fella> |
| Status: | CONFIRMED --- | ||
| Severity: | normal | CC: | carl |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Flatpak | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Jan Bidler
2022-07-16 13:38:00 UTC
I can confirm this, but only if i change the neochat's code to disable lazy loading room members. what happens is that while a listview only loads the rows it currently needs, we're using a SortFilterProxyModel, which, as part of sorting, loads every single row and... sorts them... which takes a while for 40.000 members |