-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Multiple seconds of lag when viewing/scrolling in specific Matrix room #17537
Multiple seconds of lag when viewing/scrolling in specific Matrix room #17537
Comments
It looks like a large amount of that time is taken up by |
@jonas-schievink I have made some general improvements to timeline rendering performance that should hopefully make this a lot better, and I encourage you to try them out at https://deploy-preview-6143--matrix-react-sdk.netlify.app/. However, I'm a bit worried that I'm missing some larger performance issue that you might be seeing, since in my testing I never experienced frozen input or multiple seconds of lag, as I've seen reported here and in #17573. If using the linked solution you still experience significant lag, please do another performance recording and attach either an export of the recording or a screenshot of the flame chart here so I can investigate further. (Flame charts are generally more useful than the waterfall view.) |
The multi-second spikes seem to be gone now, although my flamegraph looks basically the same as the one you posted in #17537 (comment). I'm now testing on a different room that has even worse performance issues, Thanks for looking into this! |
I can't personally test #glasgow:libera.chat since history is hidden in that room, so if you could upload a performance recording that would be great. |
Thanks, I was able to fix those slowdowns too—please give https://deploy-preview-6143--matrix-react-sdk.netlify.app/ another try when you can! |
That looks a lot better, nice! I've attached another profile just in case you want to take another look: |
#libera:libera.chat has a LOT of join/leaves if you stay inside it, I had to close the channel to clear the lag |
Description
Scrolling in the
#keepassxc:matrix.org
room causes a large amount of lag, during which all inputs are ignored and at least 1 CPU core is pegged.Steps to reproduce
Logs being sent: yes
Version information
For the web app:
The text was updated successfully, but these errors were encountered: