[2.0.43] show-entity-time-usage missing multiple milliseconds
Posted: Mon Apr 14, 2025 6:39 pm
As my factory has grown larger, I've begun to run into performance issues and when trying to profile the entity times, I noticed that there is a (sometimes large) discrepancy between the entity times of show-time-usage and what show-entity-time-usage shows.
For example, in the screenshot, show-time-usage shows 15.067ms, show-entity-time-usage's total shows 11.116ms and, for what it's worth, when manually adding all the times of the listed entities, I come out at 11.338ms.
I noticed that the spoilage mechanic's time usage isn't explicitly listed anywhere. I could imagine that maybe this is the reason?
In case you need the save file, I hope this link works: https://drive.google.com/file/d/1Ou5BV5 ... sp=sharing
For example, in the screenshot, show-time-usage shows 15.067ms, show-entity-time-usage's total shows 11.116ms and, for what it's worth, when manually adding all the times of the listed entities, I come out at 11.338ms.
I noticed that the spoilage mechanic's time usage isn't explicitly listed anywhere. I could imagine that maybe this is the reason?
In case you need the save file, I hope this link works: https://drive.google.com/file/d/1Ou5BV5 ... sp=sharing