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
[2.0.43] show-entity-time-usage missing multiple milliseconds
[2.0.43] show-entity-time-usage missing multiple milliseconds
- Attachments
-
- factorio-current.log
- (16.27 KiB) Downloaded 12 times
-
- Factorio Screenshot 2025.04.14 - 20.14.13.14.png (13.01 MiB) Viewed 207 times
Re: [2.0.43] show-entity-time-usage missing multiple milliseconds
Thanks for the report. This is working correctly: the entity time usage shows everything in the "always updates every tick, or never updates" style of updating. There are several entity types that do not use this method of updating and so aren't possible to show in this time display.
Those entity types are:
Beacons
Logistic Robots
Construction Robots
Roboports
Lightning
Fire flames
Corpses
Additionally, some entities only update when a hostile force is nearby - such as worms, turrets, landmines, and so on. Those also won't show in the "entity time usage" list.
Given logistic manager's time usage in your screenshot my guess is logistic/construction robots.
Those entity types are:
Beacons
Logistic Robots
Construction Robots
Roboports
Lightning
Fire flames
Corpses
Additionally, some entities only update when a hostile force is nearby - such as worms, turrets, landmines, and so on. Those also won't show in the "entity time usage" list.
Given logistic manager's time usage in your screenshot my guess is logistic/construction robots.
If you want to get ahold of me I'm almost always on Discord.
Re: [2.0.43] show-entity-time-usage missing multiple milliseconds
I see. Thanks for the reply!