-
-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Optimization #176
Comments
TPS is 20, it's not causing excessive CPU load. The plugin is coded with performance in mind, and was tested extensively on a server with more than 200 players moving around with cosmetics. Did you experience any slowdown or the only alarming detail was the timings report orange ms indicators? Anyway tomorrow I'll do a detailed check to see if the function you reported can be further optimized. |
Well, TPS is the main thing you have to check to see if a server is performant or not.
Provide a timings report of when the lag occurs. |
You're wrong. I'd like to send you a video of the proof. How can I do it privately so others can't see it? |
Make a "payment issue" private ticket on my forum https://forum.devs.beer/ |
Update to DEV builds of Via I think the lag is caused by ViaVersion printing too many error messages. |
Anyway analyzing the timings report I found out that you have some plugin that is refreshing the player inventory a lot. I will do some more tests to see if I can optimize it or I will add an option to skip part of this code. |
Unfortunately it's not going to help me. This is a problem of ModelEngine 3 not being compatible with ViaVersion |
Maybe the problem is in my plugin. Could you please check it? |
or more likely it's the HuskSync plugin, it synchronizes the player's inventory (including what he's wearing on his head). |
I found a prioritized configuration, maybe it will help. |
@LoneDev6 Did you fix it? Have you read my last few posts? |
I scheduled it to be fixed, please be patient, I will do my best to finish the upcoming update as soon as possible. |
The code reported uses 70% less CPU on the upcoming update. |
Terms
Discord tag (optional)
Coder#6926
What happened?
I have a large server with over 300 people playing on it. When the players accumulate, your plugin causes a heavy load on the server processor.
https://spark.lucko.me/n0wU4PFcJ3
Steps to reproduce the issue
Server version
This server is running GuardSpigot 1.16.5 version git-Airplane-"e37fa86" (MC: 1.16.5) (Implementing API version 1.16.5-R0.1-SNAPSHOT)
CosmeticsCore Version
ProtocolLib Version
LoneLibs Version
FULL server log
No response
Error (optional)
No response
CosmeticsCore config.yml
No response
Problematic items yml configuration file (optional)
No response
Other files, you can drag and drop them here to upload. (optional)
https://spark.lucko.me/n0wU4PFcJ3
Screenshots/Videos (you can drag and drop files or paste links)
https://spark.lucko.me/n0wU4PFcJ3
The text was updated successfully, but these errors were encountered: