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

Composer lag #25713

Open
lampholder opened this issue Jul 4, 2023 · 14 comments
Open

Composer lag #25713

lampholder opened this issue Jul 4, 2023 · 14 comments
Labels

Comments

@lampholder
Copy link
Member

Steps to reproduce

  1. Where are you starting? What can you see?
    Over the past week or so I've noticed worse and worse lag when typing in the normal, non-WYSIWYG composer.

I've been signed in forever, have slept/woken the computer a few times since the last reboot. There's no typing lag elsewhere on the machine.

Element is using between 5% and 30% CPU and ~1GB RAM.
Machine specs:

  • Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz 4.00 GHz
  • 32.0 GB
  • Windows 10 Pro 22H2 19045.3086

Outcome

What did you expect?

No lag

What happened instead?

Lag

Operating system

Windows 10

Application version

Element version: 1.11.34 Olm version: 3.2.14

How did you install the app?

Website

Homeserver

lant.uk

Will you send logs?

Yes

@lampholder
Copy link
Member Author

Chat effects such as confetti are also very slow.

@weeman1337
Copy link
Contributor

Could be #24091 or #23268

@lampholder thank you for opening the issue. If possible, can you send logs when the composer is lagging? A profile would also help

@weeman1337 weeman1337 added the X-Needs-Info This issue is blocked awaiting information from the reporter label Jul 5, 2023
@lampholder
Copy link
Member Author

I can't generate a profile out of Element Desktop on Windows - the profile generates but saving it saves an empty file.

@lampholder
Copy link
Member Author

I'm getting (less pronounced, but still noticeable) composer lag on Mac, too. I'll send logs for that (attached to this issue) and see if I can dump a profile out of Electron Mac

@lampholder
Copy link
Member Author

Nope, mac profiles also save as zero byte files.

@lampholder
Copy link
Member Author

Is this normal (from activity monitor on the mac)?:
image

Here's Element X for comparison:
image

My Electron instance does have encrypted search enabled:
Screenshot 2023-07-17 at 12 13 23

@lampholder
Copy link
Member Author

I've filed another rageshake for this - on firefox at least I'm now seeing regular 10 second pauses interacting with the client at all (so not just typing into the composer, but scrolling/dismissing modals/even copying a link is blocked whilst the browser does whatever it's doing.

@andybalaam
Copy link
Contributor

Firefox 2023-11-24 11.27 profile.json.gz

^ profiling info from Firefox while the composer was lagging (in Element R, local build, though, which muddies the water)

@t3chguy
Copy link
Member

t3chguy commented Nov 24, 2023

@andybalaam is it a development or production build? Development React builds are known to be laggy and it isn't something we can do much if anything about

@andybalaam
Copy link
Contributor

@andybalaam is it a development or production build? Development React builds are known to be laggy and it isn't something we can do much if anything about

This was a dev build, so I guess ignore for now until I can get something more useful.

@richvdh
Copy link
Member

richvdh commented Mar 4, 2024

presumably it is no longer correct for this to be labelled as X-Needs-Info

@richvdh richvdh removed the X-Needs-Info This issue is blocked awaiting information from the reporter label Mar 4, 2024
@lampholder
Copy link
Member Author

I've got composer lag again having updated to Element version: 1.11.62
Crypto version: Olm 3.2.15 this morning :(

@lampholder
Copy link
Member Author

Suggestion from web team is that (on this occasion at least):

its likely due to element-hq/synapse#16987 which causes #27173

Aside from this, I haven't experience composer lag in recent versions prior to 1.11.62, so perhaps this issue can be closed.

@dasJ
Copy link

dasJ commented Oct 7, 2024

so perhaps this issue can be closed

Please don't, I have this exact issue on 1.11.79, Crypto version: Rust SDK 0.7.2 (7a21514), Vodozemac 0.7.0

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

No branches or pull requests

6 participants