ProtocolLib icon indicating copy to clipboard operation
ProtocolLib copied to clipboard

protocollib slows server down a lot

Open DimaSergeew opened this issue 1 year ago • 4 comments

  • [Protocollib #600] This issue is not solved in a development build

Describe the bug Dear developer! please optimize Protocollib, it loads my server very much, the problem appeared after build #590, because of which our tps drops a lot with high online

To Reproduce Steps to reproduce the behavior:

  1. Go to 'put any build above #590 and run at least 100 players per server, Protocollib starts to load the main thread I tried to increase the number of netty threads but it didn't get any better :('

Expected behavior Return the good protocollib to the way it was before version #590

Screenshots Screenshot_3

Version Info [Provide your ProtocolLib install info with /protocol dump through pastebin.]

Additional context in recent updates, the load of protocollib on the main thread has grown significantly, I ask the developer to take action, or make the plugin work asynchronous

DimaSergeew avatar Sep 25 '22 10:09 DimaSergeew

Can you link the full spark profile? It would help protocol lib contributors evaluate whether PLib or another plugin using PLib is causing the lag. (Such as premium vanish)

Aseeef avatar Sep 27 '22 12:09 Aseeef

Can you link the full spark profile? It would help protocol lib contributors evaluate whether PLib or another plugin using PLib is causing the lag. (Such as premium vanish)

does it help with optimization at all? Screenshot_2

DimaSergeew avatar Sep 28 '22 10:09 DimaSergeew

Can you link the full spark profile? It would help protocol lib contributors evaluate whether PLib or another plugin using PLib is causing the lag. (Such as premium vanish)

Screenshot_3

DimaSergeew avatar Sep 28 '22 10:09 DimaSergeew

does it help with optimization at all?

If you're running the latest version then it will not help at all. The background compiler was removed a versions ago.

derklaro avatar Sep 28 '22 11:09 derklaro