
Performance issues with LP
Closed this issue ยท 2 comments
[-]luckperms::userGetPermissionValuecount(4) total(12.43% 2.456s, 7.32% of tick) avg(613.88ms per - 3.66ms/0.01 per tick)
[-]luckperms::userGetPermissionValuecount(54) total(4.25% 0.84s, 2.50% of tick) avg(15.55ms per - 1.25ms/0.08 per tick)
[-]luckperms::groupGetParentscount(2818) total(30.48% 3.451s, 164.34% of tick) avg(1.22ms per - 82.17ms/67.10 per tick)
Any idea what is causing these slowdowns?
Those were caused by an accidental loop in the inheriting process. This only affected the Sponge Environment with LuckPerms 2.16.25. The Bukkit environment was unaffected.
While inherit loops are the users fault I see another issue at hand:
Group Manager
inherits: admin
inherits: perms_admin
Group Admin:
inherits: jradmin
inherits: perms_admin
Group Jr Admin
inherits: perms_admin
If the list goes on, this creates quite some unnecessary overhead.
Duplicate of #69