[Genhis][2.0.26] a lot of cargo bays lag the game

This subforum contains all the issues which we already resolved.
fi5hii
Burner Inserter
Burner Inserter
Posts: 19
Joined: Mon Oct 21, 2024 1:27 pm
Contact:

[Genhis][2.0.26] a lot of cargo bays lag the game

Post by fi5hii »

I was just messing around in my editor world when trying to build an efficient end-game ship and just spammed a lot of cargo bays (1172 to be exact) and when I opened that monstrosity the game's FPS dropped to around 20. UPS quickly springs back up to 60 but the FPS does not. I'm wondering if this is anything that could be resolved or just how the engine works.

save file is here

the monstrosity I built
screenshot-tick-4022760.png
screenshot-tick-4022760.png (2.59 MiB) Viewed 4150 times
FPS drop
Screenshot_6.png
Screenshot_6.png (736.3 KiB) Viewed 4150 times
Rseding91
Factorio Staff
Factorio Staff
Posts: 14594
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [2.0.26] a lot of cargo bays lag the game

Post by Rseding91 »

Thanks for the report. Unfortunately there is nothing that I know of to fix this, the number of slots directly effects the GUI performance and there’s nothing to do about that.
If you want to get ahold of me I'm almost always on Discord.
fi5hii
Burner Inserter
Burner Inserter
Posts: 19
Joined: Mon Oct 21, 2024 1:27 pm
Contact:

Re: [2.0.26] a lot of cargo bays lag the game

Post by fi5hii »

Makes sense yeah, it's not something that anyone would really encounter, thank you for your time and looking into it!
Genhis
Factorio Staff
Factorio Staff
Posts: 709
Joined: Wed Dec 24, 2014 8:19 am
Contact:

Re: [2.0.26] a lot of cargo bays lag the game

Post by Genhis »

We found a way to double performance in your specific case. Logistics status diode (the green dot next to "Trash unrequested") triggered full resize every tick when it wasn't necessary. It won't get you 60 FPS but it's better than nothing, so I'm moving the topic to resolved for 2.0.28.
fi5hii
Burner Inserter
Burner Inserter
Posts: 19
Joined: Mon Oct 21, 2024 1:27 pm
Contact:

Re: [Genhis][2.0.26] a lot of cargo bays lag the game

Post by fi5hii »

hell yeah! thank you so much :D
Techjar
Burner Inserter
Burner Inserter
Posts: 15
Joined: Tue Jan 13, 2015 11:33 pm
Contact:

Re: [2.0.26] a lot of cargo bays lag the game

Post by Techjar »

Rseding91 wrote: Wed Dec 18, 2024 12:17 pm Thanks for the report. Unfortunately there is nothing that I know of to fix this, the number of slots directly effects the GUI performance and there’s nothing to do about that.
Couldn't you just skip rendering the slots that are outside the visible bounds? Unless I'm misunderstanding the nature of the performance impact.
Post Reply

Return to “Resolved Problems and Bugs”