Intense ticks/sec on dissolver
jmlwhittington opened this issue · 6 comments
The dissolver is running high 200 to low 400 ticks/sec but only when not in use. No other machine from this mod is doing this. When it is in use, it runs in 60 ticks/sec. I tried it on MC 1.18.2 with both versions 2.2.1 and 2.1.3 of Alchemistry. I only caught it through Observable because I have been having random lag client-side causing me to go below 60 FPS at times.
A game tick is 50ms. The game can't run more than 20 ticks per second. Lower ticks is worse, not better. Can you tell me what numbers you are referring to? Do you mean that a single tick is taking 200-400ms while using the dissolver (or not)? Do you have it connected to anything?
I misread, I think it's microseconds per tick. It says 400 μs/t, for instance. It does this both while connected and also while not connected, but only when it is not operating. While operating, it runs much more reasonably.
400 microseconds really isn't that much by itself. However, it sounds inefficient. So I need to look into profiling some of the code to see what's going on. Thanks for reporting.
No problem! I do want to point out, once I picked the dissolvers up to put in chests nearby to only use when needed, I stopped having the client-side lag. My setup isn't exactly terrible either.
This issue was fixed with #284 and can thus be closed