Super Factory Manager ( SFM )

Super Factory Manager ( SFM )

16M Downloads

Severe performance issue

winterSteve25 opened this issue · 2 comments

commented

Hi, I am using SFM to automate the energizing orb in a ftb skies expert playthrough, and I'm encountering severe performance issue when using output to retain 1 each to output_chest

here is the sparks profiler result:
image

I believe it is caused by this line, but I am not certain.
https://github.com/TeamDman/SuperFactoryManager/blob/1.19.2/src/main/java/ca/teamdman/sfml/ast/OutputStatement.java#L295

in the manager interface it says the tick time is around 1000ms.

commented

using 1 each is very unoptimized at the moment, it expands for each item in the game right now.
Try restricting it to like retain 1 each *seed* to output_chest if you can

commented

addressed in latest build