Page 1 of 1
Late game slowdown, entity update
Posted: Sun Apr 16, 2017 5:37 pm
by wjdp
I've got a slowdown with a high entity update count (~50). I'm playing with the aircraft mod, the slowdown started after annoying many biters. Depending on where I am the UPS is between 10 and 20.

Re: Late game slowdown, entity update
Posted: Sun Apr 16, 2017 5:39 pm
by Klonan
Thanks for the report,
However this isn't really a bug, you are making the game do a lot of work by aggro-ing many biters, so a slow in game performance is quite expected
Re: Late game slowdown, entity update
Posted: Sun Apr 16, 2017 5:40 pm
by wjdp
After a bit of searching I found the following command to remove all mobile enemies: `/c game.forces["enemy"].kill_all_units()`. After running this i'm back up to 60 UPS.
Re: Late game slowdown, entity update
Posted: Sun Apr 16, 2017 5:43 pm
by wjdp
Klonan wrote:Thanks for the report,
However this isn't really a bug, you are making the game do a lot of work by aggro-ing many biters, so a slow in game performance is quite expected
Wasn't 100% sure if this counted, feel free to WONTFIX. As mentioned after killing all biters performance is restored.
What I wonder if if simulating all the biters at distance is the best course of action in this case. After a number of active biters reaches a limit should it idle/destroy them? Apologies, I've not read much about how the game handles far away entities.