WildChests icon indicating copy to clipboard operation
WildChests copied to clipboard

Performance issues when opening storage units

Open RVSkeLe opened this issue 1 year ago • 4 comments

Minecraft's Version

Purpur 1.21.1-2329-803bf62 (MC: 1.21.1)

Plugin's Version

Latest Dev Build WildChests-2024.4-b80

Describe the bug

Not exactly a bug, but I've seen initMenu take up to 17mspt which is way too much https://imgur.com/a/5V1CPVd

To Reproduce

Probably when you open a WildChest

Additional Information

No response

RVSkeLe avatar Feb 04 '25 22:02 RVSkeLe

Send me the spark profiler here so I can inspect it as well

OmerBenGera avatar Feb 04 '25 22:02 OmerBenGera

Sorry I forgot the link, there you go https://spark.lucko.me/PC3DEA77Mn

EDIT: another one, now as high as 37mspt (used spark's flag --only-ticks-over 60) https://spark.lucko.me/245pKTkDiI

RVSkeLe avatar Feb 04 '25 23:02 RVSkeLe

Thr lag comes from when players open storage units. I am not sure why it happens tbh, as it is 100% spigot's code. (in your case, purpur)

Does it happen on a testing server as well? Does it happen if you run Paper?

OmerBenGera avatar Feb 07 '25 10:02 OmerBenGera

I tried to reproduce this issue but without luck, though I haven't really noticed performances issues lately. My guess is some kind of plugin or too many players opening chests. I'll try it again when I'll have some more free time

RVSkeLe avatar Apr 13 '25 05:04 RVSkeLe