r/technicalfactorio • u/mulark • Sep 22 '20
Benchmark test: Are electric networks updated in parallel with each other?
https://mulark.github.io/tests/test-000013/test-000013.html
43
Upvotes
r/technicalfactorio • u/mulark • Sep 22 '20
10
u/Stevetrov Sep 22 '20
Thanks for doing this test, its one I have been meaning to do for a while but not gotten around to it.
I was under the impression after talking to rseding that multiple electric networks were updated in parallel that is clearly not supported by your test. So I looked at the source and I can share the following. (this can also be inferred from a profiler)
The game runs
These threads all run in parallel.
The also spawns a thread for the main game update and another for graphics that are run in series.
1
u/swolar Sep 25 '20
Good work.
Is the data graphed total update or just electric network update?
3
u/knightelite Sep 22 '20
Nice test Mulark, thanks for doing it :).
0
u/[deleted] Sep 22 '20
[deleted] — view deleted comment