Performance Optimisation: Profiling/benchmarking circuit networks?
Posted: Wed Mar 15, 2023 4:19 pm
Hello all,
So, I might have made mistakes designing some of my blueprints.
Many of them feature heavy use of circuit networks to automate things, and some decisions were not taken with UPS efficiency in mind, since I assumed circuit networks were optimised to hell and back.
And though the level of optimisation is quite impressive, I think I'm straining the limits already.
Currently, my circuit-network-update time averages around 7ms, down from 8 when I still had entire sections of belt constantly reporting the full held contents that honestly didn't need to if I designed it differently, but I want to bring that down further (I'll get to the 6ms Entity-update next).
For reference, I'm playing with quite a few minor mods, but the ones that are circuit network impacting are LTN and Space Exploration (since I need to do a lot of station updating and inter planetary signal transmission).
The first likely cause of issues, signal transmitter/receiver loops, have been eliminated as a cause of high update times.
My main question is this: Is there a mod or a debug tool that allows me to do profiling/benchmarking of the circuit networks?
I know networks are defined by connected colour coded wire to a network ID, and I was hoping for something that would allow me to inspect how many updates per second each network is receiving and where it connects (coordinate wise), so I can trace down the networks/connections with the most updates, and see about reducing them where possible.
Google searches and scouring the mod portal have so far not been fruitful.
EDIT: Whoops, I think this ended up in the wrong section?
Not sure if this technical help is the kind of technical help the forum topic is about.
So, I might have made mistakes designing some of my blueprints.
Many of them feature heavy use of circuit networks to automate things, and some decisions were not taken with UPS efficiency in mind, since I assumed circuit networks were optimised to hell and back.
And though the level of optimisation is quite impressive, I think I'm straining the limits already.
Currently, my circuit-network-update time averages around 7ms, down from 8 when I still had entire sections of belt constantly reporting the full held contents that honestly didn't need to if I designed it differently, but I want to bring that down further (I'll get to the 6ms Entity-update next).
For reference, I'm playing with quite a few minor mods, but the ones that are circuit network impacting are LTN and Space Exploration (since I need to do a lot of station updating and inter planetary signal transmission).
The first likely cause of issues, signal transmitter/receiver loops, have been eliminated as a cause of high update times.
My main question is this: Is there a mod or a debug tool that allows me to do profiling/benchmarking of the circuit networks?
I know networks are defined by connected colour coded wire to a network ID, and I was hoping for something that would allow me to inspect how many updates per second each network is receiving and where it connects (coordinate wise), so I can trace down the networks/connections with the most updates, and see about reducing them where possible.
Google searches and scouring the mod portal have so far not been fruitful.
EDIT: Whoops, I think this ended up in the wrong section?
Not sure if this technical help is the kind of technical help the forum topic is about.