Skip to content

Performance improvements#24

Open
nicholasgower wants to merge 1 commit into
MESLewis:mainfrom
nicholasgower:performance-improvements
Open

Performance improvements#24
nicholasgower wants to merge 1 commit into
MESLewis:mainfrom
nicholasgower:performance-improvements

Conversation

@nicholasgower

@nicholasgower nicholasgower commented Jul 6, 2026

Copy link
Copy Markdown

On idle, this mod consumes about 0.03 ms/tick on my computer and about 0.1 ms/tick with a gui open. After replacing the on_tick event with an on_nth_tick event running every 60 ticks, I reduced passive performance cost to ~0.002 ms/tick and ~0.003-0.01 ms/tick with a gui open. While I'm sure responsiveness is slightly impacted when using highly mixed belts with many rapidly changing ingredients, I don't think this is a typical use of this mod, and the persistence of only updating the gui every second makes up for this disadvantage.

…rformance by factor of 30 on idle and by factor of 10 when gui is open.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant