Event Loop caus low TPS
wryel2000 opened this issue ยท 2 comments
- This issue is not solved in a development build
Steps to reproduce the behavior:
- Go to 'https://spark.lucko.me/umspE1YrVh'
- Click on 'plugin performace view'
- Scroll down to 'Protocol Lib'
- See error "print"
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Version Info
Provide your ProtocolLib install info with /protocol dump
through pastebin.
The first half here is not a issue with ProtocolLib itself but rather a problem with other plugin that use ProtocolLib taking about 3.6% of the tick time. If you expand the call tree, you can identify these plugins. In your case, the problematic plugins should be CitizensNPC, LibsDisquise and AnticheatReloaded.
The second half is a little bit more challenging to tackle down. @derklaro recently contributed lots of changes that reduce the number of networking done on the main thread. Please try if the latest pre-release of ProtocolLib (https://github.com/dmulloy2/ProtocolLib/releases/tag/5.0.0-rc1) improves the situation