element-hq / element-hq/element-web
App spams console.log during execution, and especially during startup, affecting performance and making rageshakes useless
- Dominant language
- TypeScript
- Stars
- 13.5k
- Forks
- 2.8k
- PR merge metrics
- PR metrics pending
Description
### Steps to reproduce
1. Open element
2. press ctrl+r
3. observe tens if not thouands of repeated messages
4. observe that Element takes well over a minute to start rendering content
### Outcome
#### What did you expect?
Seeing some debug info in console, app reloads quickly
#### What happened instead?
19:49:42.745 MatrixChat: handling action MatrixActions.Room.receipt
19:49:42.745 MatrixChat: handling action MatrixActions.Room.timeline
19:49:42.745 MatrixChat: handling action MatrixActions.Room.receipt
19:49:42.745 MatrixChat: handling action MatrixActions.Room.timeline
19:49:42.745 MatrixChat: handling action MatrixActions.Room.receipt
19:49:42.746 MatrixChat: handling action MatrixActions.Room.timeline
19:49:42.746 MatrixChat: handling action MatrixActions.Room.receipt
19:49:42.746 MatrixChat: handling action MatrixActions.Room.accountData
19:49:42.746 MatrixChat: handling action MatrixActions.Room
19:49:42.747 MatrixChat: handling action MatrixActions.Event.decrypted
19:49:42.748 MatrixChat: handling action MatrixActions.RoomState.events
19:49:42.749 MatrixChat: handling action MatrixActions.Room.myMembership
[...]
App takes well over a minute to reload, possibly due to console.log() being synchronous ontop of being overloaded by the rageshake code (which I can't even turn off?)
### Operating system
Linux (NixOS)
### Browser information
Firefox "mozilla-official - 1.0" 150.0
### URL for webapp
app.element.io
### Application version
Element version: 1.12.17 Crypto version: Rust SDK 0.16.0 (00b9b6d), Vodozemac 0.9.0
### Homeserver
Synapse 1.152.0
### Will you send logs?
No
Contributor guide
Assessment
This issue has not been assessed yet.