uk.antiperson.stackmob.tasks.TagTask causing severe lag.
StackMob::Task: uk.antiperson.stackmob.tasks.TagTask (interval:5)count(1200) total(54.43% 202.015s, 215.25% of tick)avg(168.35ms per - 107.63ms/0.64 per tick)
https://i.imgur.com/RiRAKyU.png
Anyway we can improve performance in regards to the above task? We are currently running StackMobs built upon: https://github.com/Nathat23/StackMob-2/commit/236854678fb109a4f6a5880208115f0cade81b80
Please help. It's gotten quite bad lately with the latest code changes.
Going to be changing:
# Everything related to the tag seen above entities
tag:
# The delay between updates of the name tag.
interval: 5
to
# Everything related to the tag seen above entities
tag:
# The delay between updates of the name tag.
interval: 100
Perhaps this will help? If you can look into this would be great.
The latest commits have switched the replace functions to apache-commons, so there may be some improved performance.
Awesome :) Thanks! Will continue to monitor this.
Oh wait, can't really test this as it probably won't work on 1.12.2 anymore due to your 1.13 changes @Nathat23.
Can you possibly add the performance / other stuff to your 1.12.2 legacy branch?
Any update on this? Getting severe lag from this.
Can’t really test unless @nathat23 made a legacy branch for 1.12.2 with the fix :(
Disabling 'tag.show-player-nearby.enabled' should improve performance.
Thanks @Nathat23 I've disabled show-player-nearby for now and am monitoring performance. @matthewmarion let us know if disabling that option helps your problems as well :)
3.0 has even more performance increases.
Sadly am stuck on legacy version due to ASkyBlock not getting an update.