Skip to content
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

Performance degradation with latest update (minecraft 1.18.2, paper-216, plugin 1.7.1.1) #139

Open
BigScary opened this issue Mar 28, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@BigScary
Copy link

BigScary commented Mar 28, 2022

Describe the bug
Getting intermittent lag spikes, big enough that players are complaining/asking about them. I've been using the plugin for almost a year and this is the first time I've seen anything like this from it. I have not recently changed settings or added/removed stuctures, but today I updated the the latest version of the plugin.

Timings report: https://timings.aikar.co/?id=d1fb90f0077444a794a9652b112109e0

See near top, CustomStructures accounts for a whopping 50% of total cpu time during the spike! :( Maybe the details there point to a specific area of the plugin (deciding which structure to place, or where to place it... maybe?)

Steps to Reproduce
I've got a few custom structures defined (maybe... 25ish?). Teleporting around rapidly to get them to generate reproduces the issue for me on demand. Of course players cause it to happen intermittently as well as they wander about.

Expected behavior
Need to see the plugin take it easy on the main server thread. I love love love this plugin and so do my players! <3 But laggy server behavior like movement rubber banding, blocks popping back after they're broken, and chunks loading very slowly while exploring will motivate players to find a new server and force me to turn it off.

@BigScary BigScary added the bug Something isn't working label Mar 28, 2022
@ryandw11
Copy link
Owner

What version of the plugin were you previously on?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants