Open HexedHero opened 3 years ago
Although lower is always better, (31/5000)*100 is still only 0.6% time on the main thread. This shouldn't impact performance too much. Increase in animations speeds = more packets sent (Count:
field), then it may get to a point where the TPS is affected.
Thank you for the quick reply. My concern isn't so much the amount of time on the main thread, more so it seems to be causing single high tick times which can be noticeably on gameplay and makes the server catch up the next few ticks after.
I've been seeing a lot of HolographicExt on Spark reports and below is a 5-second report from ProtocolLib and you can see it already took 30~ms
Compare that to something like AAC, an anti-cheat in the same 5 seconds
Only 5ms in the same timeframe.
Code in question: https://github.com/Niall7459/HolographicExtension/blob/master/src/main/java/net/kitesoftware/holograms/listener/PacketPlaceholderListener.java#L52