Closed DanielleMaywood closed 2 years ago
Thanks for your contribution. The commits look good, but have you done performance testing? I'm worried the extra environment object has a significant CPU/memory impact, especially for longer chats.
Thanks for your contribution. The commits look good, but have you done performance testing? I'm worried the extra environment object has a significant CPU/memory impact, especially for longer chats.
I haven't but I can do some later today and post the results.
Thanks. Check the scrolling performance especially for longer channels.
The following are from me testing on my M1 Macbook Air on MacoS Ventura.
Performance profile from before changes:
Performanc profile from after changes:
Anecdotally, the smoothness of scrolling through channels with lots of messages feels the same to me.
Lmao, it looks like performance actually improved xD. Ok, I'm merging this PR.
Hides the "Edit" button in the context menu for messages sent by anyone other than the current user.