Dplayend / Just-Leveling

add aptitudes, skills, titles, all like a rpg game.
3 stars 1 forks source link

Attempting to use anything of a higher level while on a server causes a CPU spike #35

Open ComeMyChild opened 3 months ago

ComeMyChild commented 3 months ago

Recently we started a public server with this mod installed, and I was hoping it would introduce some more in depth progression. Although it succeeds in this regard, we noticed a lot of TPS spikes within our server and I employed the use of the spark mod to see what was the issue. We discovered that CPU usage was being occupied heavily by this mod, and at its peak (from what I could tell) it was using 50% of the CPU!

To recreate, boot up the mod on a server and attempt using anything of a higher level than you are currently at. You will notice a spike in the CPU. With only one person it is manageable, but when multiple people are online then the spike is much more devastating. Below are some screenshots of what I am seeing.

image_2024-03-03_181459096 Before using

image After using

image At it's peak