Page 1 of 1

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

Posted: Wed Dec 18, 2024 11:32 am
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 4255 times
FPS drop
Screenshot_6.png
Screenshot_6.png (736.3 KiB) Viewed 4255 times

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

Posted: Wed Dec 18, 2024 12:17 pm
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.

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

Posted: Wed Dec 18, 2024 12:25 pm
by fi5hii
Makes sense yeah, it's not something that anyone would really encounter, thank you for your time and looking into it!

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

Posted: Wed Dec 18, 2024 5:14 pm
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.

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

Posted: Wed Dec 18, 2024 7:48 pm
by fi5hii
hell yeah! thank you so much :D

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

Posted: Fri Dec 20, 2024 6:13 pm
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.