Issue: Processing comb blocks instead of combs in heated centrifuges generates a lot of tick lag
zombiezrule opened this issue ยท 2 comments
I've been processing a lot of combs in heated centrifuges with 4x speed upgrades, using AE2 to pipe in/out of the centrifuges. After upgrading to omega productivity upgrades (which include a block upgrade, making bees produce comb blocks instead of combs), I've noticed a lot of extra tick lag.
I ran a spark and observable tick profiler while the centrifuges were processing comb blocks vs combs, and it looks to me (I'm not an expert in this by any means, so make your own observations) like the centrifuges have to look up the recipe for the comb block processing every single time, possibly because there is no in-built recipe for comb block processing. Meanwhile, as combs have their own processing recipe, far less lag is generated as it isn't looking up the recipe every single time one is processed.
Some images/profiles:
While processing comb blocks:
https://i.imgur.com/Eh0lPC7.jpeg
https://o.tas.sh/#opPv8
https://spark.lucko.me/eRfVlh38Z7
While processing combs:
https://i.imgur.com/Jyob2wV.png
https://o.tas.sh/#rNmvk
https://spark.lucko.me/ct0tgPsBZ8
It seems like a solution to this would be to add a processing recipe for each of the comb blocks, so that the heated centrifuge doesn't have to look up the recipe for processing the comb block each time. Again, I'm nowhere near an expert on this just taking what loose knowledge I have from what I'm seeing. Let me know what you think.
Looks like a similar thing has been reported before - #551
Hopefully this can be looked at further given the extra evidence I've included.
I added a small autocrafting setup that exports combs (not blocks) into a chest via AE2, which are then moved into the heated centrifuges to process. This seemed to reduce the tick lag by a decent amount, compared to processing combs in the centrifuges themselves.
https://i.imgur.com/RylOP1I.jpeg
https://spark.lucko.me/Jm5GRd5xgs
https://o.tas.sh/#VrMVy
Edit - after leaving it for a few minutes, it looks like that might not be the issue, maybe the heated centrifuges are just laggy..
https://i.imgur.com/4Qe4RPB.jpeg
https://spark.lucko.me/FMayirukv0
https://o.tas.sh/#PAB9m