Room switch time: Room list is re-mounting tiles again #23001
Labels
A-Performance
A-Room-List
A-Room-View
O-Occasional
Affects or can be seen by some users regularly or most users rarely
S-Minor
Impairs non-critical functionality or suitable workarounds exist
T-Defect
Steps to reproduce
Outcome
What did you expect?
A very fast room switch time (a key metric of ours)
What happened instead?
A not-so-fast room switch.
The full room switch took nearly 10 seconds:
The click took 42ms to handle:
with a subsequent focusin taking 130ms:
then
viewRoom
took 928ms (!!):causing the task to take 1.3s overall:
The lag in this task is what is noticeable as "switch lag": the client appears frozen when tasks run over like this.
It also appears sentry is having issues keeping up:
Additionally, the
Tooltip
unmounts are taking massive amounts of time within theviewRoom
scope:The concerning part is that there's a few dozen of these sorts of stacks in the profile:
this indicates that the tiles are re-mounting when they shouldn't be. Maybe one or two, but not dozens from a single click.
Overall, we should aim to optimize out some of the concerns here.
Profile is available to team members upon request :)
Operating system
Windows 10
Application version
Nightly (2022-08-04)
How did you install the app?
The Internet
Homeserver
t2l.io
Will you send logs?
No
The text was updated successfully, but these errors were encountered: