Huge performace drain
deano3663 opened this issue ยท 8 comments
Precious stones seems to be using a huge amount of resources when someone places a protection block: 0.25% 749.91% 3.75 s 374.95 ms 0.0 0.0k PSBlockListener::onBlockPlace(BlockPlaceEvent)
Gonna add some detailed debug messages with timing info. Then you can test placing a field on your server, and so I can see where the bottleneck lies. Stay tuned.
Doubt that helped any. Most likely its the chunk where the block was placed that made the difference. Try to track down where it was that block places gave those timings.
Try that out, turn on show-debug-info on the config, and place a field where normally it would take long. Then paste the results here.
Size of fields have no bearing on performance. Maybe it was an area densely populated with fields, or maybe it was interactions between different types like grief-reverts, etc. Next time you see something funny run the timings to see if we can get a clue.
Cant seem to find the actual block that caused the performance issues but it was more of a general performance issue than a spike or specific block /area we updated the server to the latest spigot build and things have improved in general the even causing the most issues was this one
PSBlockListener::onBlockPlace(BlockPlaceEvent)
but its minor now not sure if it will increase as more people make claims but i doubt it , i did have the claim as quite large though
with a radius of 100 and a height of 100 so maybe that affected it?