WorldGuard

WorldGuard

8M Downloads

High resource usage on PlayerQuitEvent

LadyCailinBot opened this issue ยท 4 comments

commented

WORLDGUARD-2677 - Reported by Daffy22

WorldGuard has a high tick time when my server has about 50 players online. This causes my TPS to drop quite low. My timings: http://aikar.co/timings.php?url=5673303
I use WorldGuard for region protection

commented

Comment by wizjany

going to need some real profiling to do anything about this

commented

Comment by Daffy22

What do you mean by "profiling"?

commented

Comment by wizjany

http://en.wikipedia.org/wiki/Profiling_%28computer_programming%29
use jvisualvm or something

timings is completely useless and misleading, and gives absolutely no information - the code being run in the quit event should be less intensive than that in the move event, and the move event is certainly much more common

commented

Comment by Daffy22

I'm sorry I don't entirely understand. I don't have access to any kind of java profiling tool on my server. I understand this is going to be hard to pin point.