EssentialsX

EssentialsX

2M Downloads

Essentials:msg eating up 46% of tick

FixTheAdmin opened this issue ยท 13 comments

commented

This timings report was gathered after collecting data for 1 hour. During this time roughly 50 player were online. https://i.imgur.com/foewJE9.png. I can send the full report in PM if you'd like.

EssentialsX version (/essentials): 2.0.1-b483

Server software (/version): Paper spigot git-paper-1152 (MC:1.12) (API version 1.12-R0.1-snapshot).

commented

Closing due to inactivity; if this is still a problem, feel free to reopen this issue with a fresh timings report so that we can investigate (the old one had expired).

commented

Please provide us with the actual timings link instead of a picture, thanks!

commented

Alright, here it is: https://timings.aikar.co/?id=037fbee8d85b454497cb0a366822e713#plugins
Not sure how you'd like me to archive it, hope this is enough. Thanks for the help!

commented

Or better yet, an archive link to it so we can refer to it on the future too. A picture doesn't allow us to use the timings tool properly to gather data to investigate the problem.

commented
  • Is there noticeable delay when sending messages?
  • What is the console output when /msg is run and debug mode is enabled? (/ess debug)
commented

There is no noticable delay when sending a message. Here is the console output: https://i.imgur.com/r8g4aRa.png

commented

Any ideas?

commented

Just to add: according to the timings report, the permissions plugin in use is bPerms 2.12, and the economy plugin is Gringotts (not sure if EssX does anything economy-related if there's no command costs).

Could you paste your config on Gist?

commented

Only things that messaging commands do is:

  • Check those permissions in your imgur, which are handled by permission plugins, so they could be the problem.
  • Get valid Users from UserMap, presumed to be highly efficient. Except for old server implementations (but you're 1.12)
  • Send message off with a few permission checks

I'm probably over simplifying it quite a bit, but that's the gist from what I'm reading. The main cause of issues would be the permission plugin. If not, and this happens for ALL EssentialsX commands, then the issue would exist in common areas such as the base command code, or UserMap. Seeing as tpo is using a much more graceful amount, I will rule that out as a possible cause.

I'm quite busy to be able to fully dedicate my time to this, but I am asking for assistance in debugging your timings report.

commented

Thanks for the replies! Since I wrote this ticket I've switched Luckyperms (stil using Gringotts for eco) but still facing the same issues. Here is the config: https://gist.github.com/Bezod/cf7931fab08759146be34c4e8daa2b4d

commented

Just out of interest, does this still occur on more recent builds? Not that there should be any difference, but if there is then that could be a hint.

commented

Issue still present with the latest build, here is a updated timings report https://timings.aikar.co/?id=83f0bc5d331d4c9d924c3ef2be3b3f76#plugins