ProtocolLib

3M Downloads

Lags server with 2900% per tick

kalleswe opened this issue ยท 1 comments

commented

Describe the bug
2900%+ per tick for ProtocolLib plugin only.
Seems to be some bug in the latest version as of now (v5.0.0-SNAPSHOT-b567).

To Reproduce
Steps to reproduce the behavior:

  1. Load the plugin on freshly built spigot.jar or latest ver 7 1.19 paper.jar
  2. Watch it start lagging.

Expected behavior
Not lag 2900%+ per tick.

Screenshots
https://postimg.cc/7JNc5FQv

Version Info
Version: v5.0.0-SNAPSHOT-b567

Additional context
From aicar timings: (will not paste link due to confidential setup):
Text below also as image: https://postimg.cc/7JNc5FQv
[ProtocolLib]
Authors: dmulloy2, comphenix
Provides read/write access to the Minecraft protocol.
ProtocolLib::Combined Total
count(15880922) total(97.55% 637.108s, 2,837.90% of tick)
avg(0.04ms per - 1,418.95ms/35,369.54 per tick)
ProtocolLib::Task: com.comphenix.protocol.injector.netty.channel.NettyChannelInjector$$Lambda$8421 (Single)
count(15880470) total(97.54% 637.082s, 2,837.78% of tick)
avg(0.04ms per - 1,418.89ms/35,368.53 per tick)
ProtocolLib::Event: com.comphenix.protocol.injector.PacketFilterManager$1 (PlayerLoginEvent)
count(1) total(0.00% 0.021s, 0.09% of tick)
avg(20.54ms per - 0.05ms/0.00 per tick)
ProtocolLib::Task: com.comphenix.protocol.ProtocolLib$$Lambda$6855 (interval:1)
count(449) total(0.00% 0.003s, 0.01% of tick)
avg(0.01ms per - 0.01ms/1.00 per tick)
ProtocolLib::Task: com.comphenix.protocol.metrics.Metrics$1$1 (Single)
count(1) total(0.00% 0.001s, 0.01% of tick)
avg(1.35ms per - 0.00ms/0.00 per tick)
ProtocolLib::Event: com.comphenix.protocol.injector.PacketFilterManager$1 (PlayerJoinEvent)
count(1) total(0.00% 0.001s, 0.00% of tick)
avg(1.07ms per - 0.00ms

commented

Should be a duplicate of #1631 - please read my last comment I attached a build which fixes the issue until the fix is merged.