View Issue Details
ID | Project | Category | Date Submitted | Last Update | |
---|---|---|---|---|---|
0023510 | AI War 2 | Gameplay Issue | Aug 6, 2020 8:09 pm | Aug 6, 2020 8:09 pm | |
Reporter | Chris_McElligottPark | Assigned To | Chris_McElligottPark | ||
Status | assigned | Resolution | open | ||
Summary | 0023510: Note to self: generate 2000 planet map and see where the slowdowns are. | ||||
Description | It's really clear that above 100-120 planets the game starts to bog down in a way that it does not when the number of planets are smaller. But the amount of extra load just isn't high enough for me to be able to detect it via traditional profiling methods. What I should do is increase the load by an order of magnitude and see what pops up after that. It is likely not going to be an easy fix. The units themselves, and the processing for them, already seem okay... I think. The unit counts are definitely not the limiting factor, either way. I suspect that maybe PlanetFaction needs to be refactored out of the game, and something else put in there. Maybe it's related to how I create one fleet per planet per player, on the other hand. I don't really know. Those should be so empty that they early-out basically immediately. I have yet to see any hotspot in the code relating to the high planet counts, so it's something for me to investigate after I get through multiplayer and my work on DLC2, etc. For now, the counts of 100 planets and down run really really well, and performance has not gotten worse in the recent times than it has been for the last four years, so I don't feel super urgently about it. But it would be potentially a nice performance boost even for lower-planet-count galaxies if I can figure this thing out, so it's not only the mega-sized games that would benefit. Original discussion: https://steamcommunity.com/app/573410/discussions/0/2790495498043243266/ | ||||
Tags | No tags attached. | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
Aug 6, 2020 8:09 pm | Chris_McElligottPark | New Issue | |
Aug 6, 2020 8:09 pm | Chris_McElligottPark | Status | new => assigned |
Aug 6, 2020 8:09 pm | Chris_McElligottPark | Assigned To | => Chris_McElligottPark |