Opening a chat can cause a lag spike
Muf
2023-03-25 12:46:52Описание
When Labychat is opened with lots of messages it will lead to a lag spike. This will only happen if there are a fair bit of messages. The lag spike will occur if the chat with the player is open. (Eg. You press ESC to access the menu and then click the "Chat" but it opens an empty chat there will not be a lag spike. However if it opens a chat with lots of messages it's going to cause a lag spike- completely freeze the game for roughly a second or two. This is on a relatively powerful PC (Ryzen 5 5600x at 4.65ghz and RTX 3070, as well as 3600mhz RAM (only the Minecraft default amount is allocated).
By lots of messages I mean something roughly 50+ with varying lengths in terms of lines of text.
The amount of messages will make it more pronounced, but can also be seen with as little as under 20 messages. It would also seem like the amount of messages over around 50 don't cause a worse lag spike (or longer freeze). Also sending a message will cause a short freeze (of around 0.5s-1s, which only happens when there are lots of messages)
Theme or font don't matter. It still persists with both vanilla theme and the fancy theme, as well with both the fancy font and vanilla font.
It is a relatively minor, but extremely annoying bug.
Operating System: Windows 11
LabyMod Version: 4.0.0+705 snapshot/c71f0c9
Minecraft Version: 1.8.9
Duplicates
| Esmaybe | V4 chat laggy with lots of messages | 2023-03-18 11:29:25 |