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

Rendering large MELS is very slow #11963

Closed
ara4n opened this issue Jan 21, 2020 · 1 comment · Fixed by matrix-org/matrix-react-sdk#6143
Closed

Rendering large MELS is very slow #11963

ara4n opened this issue Jan 21, 2020 · 1 comment · Fixed by matrix-org/matrix-react-sdk#6143

Comments

@ara4n
Copy link
Member

ara4n commented Jan 21, 2020

If you have tens/hundreds of membership changes in a row, MELS takes a surprisingly long time to render when viewing a timeline for the first time. It's as if every new event added to scrollback calls the MELS (or the whole timeline?) to re-render from scratch. Instead, we should only update the MELS atomically for every batch of scrollback loaded via /messages, rather than on a message by message basis.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants