Im unsure if this is unavoidable and im also aware you recommend to remove the mod as soon as possible.
But currently your mod causes 11ms of update time (script) on a Save with only Nauvis generated, 1500 Radius revealed map and all biters removed in 1000 radius. nothing is placed, no inserter, burner or assember.
Just to be noted my PC is very "beefy" for Factorio (CPU: 9950x3d RAM: 6000MTs Cl26)
Incase this is unintended, i kindly ask you too look into this and if needed i can assist fruther.
TYVM in advance
Eulenberg
steps to reproduce:
/c local radius=1500
game.player.force.chart(game.player.surface, {{game.player.position.x-radius, game.player.position.y-radius}, {game.player.position.x+radius, game.player.position.y+radius}})
/c local surface=game.player.surface
local pp = game.player.position
local cnt = 0
for key, entity in pairs(surface.find_entities_filtered({force="enemy", radius=1000, position=pp })) do
cnt = cnt+1
entity.destroy()
end
game.player.print(cnt)