HammerLib

HammerLib

37M Downloads

[1.12.2] `McHooks.tickTile()` causing notable lag

Krutoy242 opened this issue ยท 1 comments

commented

I run Spark profiler /spark profiler --timeout 100

And got this resilt: https://spark.lucko.me/sfE4XTS6OS

I found, that self time of com.zeitheron.hammercore.asm.McHooks.tickTile() took too much. Its about 1% of my TPS.

image

I found that this code is handling some kind of tile entities halting. I'm not using tile_entity_tick_slip config at all, so i believe i don't need this feature at all.

debug.log

Is this 1% lag is normal? Can i somehow disable or fix this?

commented

Just disable the tick slip altogether. asm/hammercore.xml - you will need to change World.ITickable.Override from true to false.