iamb icon indicating copy to clipboard operation
iamb copied to clipboard

Slow performance sending in #matrix:matrix.org

Open ara4n opened this issue 1 year ago • 4 comments

To repro:

  • join #matrix:matrix.org
  • send a message
  • on hitting enter; iamb freezes for about 10s
  • eventually the local-italic echo appears, and then resolves to remote echo.

I mistook this earlier as a lack of local echo (or lack of message queuing / retry semantics), but the actual thing which was tripping me up looks to be freeze on hitting enter.

ara4n avatar Jan 18 '24 00:01 ara4n

Not sure, if it is related to it, but I think so.. I found out that thte app eating a lot of CPU resources, even when any chat is off. It is taking around 45%-60%. Przechwycenie obrazu ekranu_2024-01-30_19-06-55

The CPU usage is fixed: https://github.com/ulyssa/iamb/pull/168

paulcarroty avatar Feb 03 '24 12:02 paulcarroty

I was also suffering the CPU problem, which now appears to be fixed - however, it's still freezing for 10s on trying to send a msg in Matrix HQ (this on 0.0.9).

ara4n avatar Mar 29 '24 18:03 ara4n

I was also suffering the CPU problem, which now appears to be fixed - however, it's still freezing for 10s on trying to send a msg in Matrix HQ (this on 0.0.9).

I can confirm this. In rooms with many people and messages, if I send a message there is delay (about 10 seconds). This isn't a case if I talk in direct messages 1:1.

roland-5 avatar Mar 30 '24 19:03 roland-5