Quark

Quark

143M Downloads

ensureUpdatedItemAge() eating 20% of total execution time, frog entity takes 5-10% (??)

FluffyDiscord opened this issue · 6 comments

commented

Hi, I have been wondering what causes my server to be quite slow and found out, that from all my mods installed, your mod is the number one. Even some heavy stuff as dozens of active boosted mekanism machines (via torcherino) and thousands of pipes take around 6%, while some item checking algorithm of yours takes 4 times longer. I dont event have much (if any) quark blocks placed or items crafted and it does this horrible thing to me.

Please take a look at this profiling result:
As shown below, your update function takes forever to do. It is absolutely necessary to have it ? Can it be removed/disabled (via config), what does it even do that is so expensive...
Next one is the frog entity. What is going on there :D
Screenshot_2

Full dump:
https://sparkprofiler.github.io/#kfSXZe2TGW

MC: 1.12.2
Forge: 14.23.5.2847
Mod: Quark-r1.6-177.jar
Modpack: Enigmatica 2 Expert 1.75 (added some mods)

commented

I'm going to add a "me too" to this. Finally looked into lag after getting my new server built and my pack working right again. I have 23,000+ tile entities on the server, loaded by chunkloaders, and the fact that some frogs are using more CPU than that indicates that there's a BIIIIIIIIIIIIIIG problem somewhere in their coding.

commented

Was this fixed? I don't see a commit close.

commented
commented

Hmmm, curseforge must be being slow then.

commented
commented

Huh I totally missed that, thanks :)