Page 1 of 1

How to get detailed stats on entity updates?

Posted: Fri May 17, 2019 2:22 pm
by YunoAloe
I'm looking to see which entities and/or entity types are using how much update time. Sort of like https://minecraft.curseforge.com/projects/laggoggles for minecraft or at least viewtopic.php?f=49&t=64679&p=396536#p396467:
  • 5% is calling on_tick for mods
  • 5.5% is spent updating the minimap from all the radars you've got active
  • 12.4% is spent transferring energy around electric networks
  • 3% is spent updating transport belts
  • 1.8% is spent updating lamps with circuit wires attached
  • 1% is spent on trains driving around
  • 20% is spent updating loaders
  • 7.8% is spent updating underground pipes
  • 5.5% is spent updating inserters
  • 4.3% is spent updating pipes
  • 4.1% is spent updating radars
To differentiate inserters from loaders from robots from etc. How do I do this?