Lag with luckperms
SladeHazard opened this issue ยท 3 comments
Expected behavior
No lag
Actual behavior
Causing lag
Steps to reproduce
use discordsrv with luckperms installed on the server
Server software and version
Paper 1.12.2
Checks
- I am not using an outdated version of DiscordSRV.
- I asked in DiscordSRV's Discord server to see whether this issue is in fact a bug that needs to be fixed.
Anything else
0.83% of a tick is absolutely nothing. If you're encountering performance issues, the culprit is something else.
Most of the time is spent in the green box, which is LuckPerms (or specifically Java) code (~128ms of ~180ms), leaving ~52ms for DiscordSRV code (over the entire sampling period).
There is nothing to optimize on DiscordSRV's end, everything is already coming from caches.
If you don't want to use DiscordSRV's LuckPerms contexts, you can add LuckPerms-Contexts
to DisabledPluginHooks