[2.0.19] Performance Degradation when looking at 15K+ spaceship inventory

Post your bugs and problems so we can fix them.
boldviking
Burner Inserter
Burner Inserter
Posts: 5
Joined: Mon Sep 07, 2020 8:27 am
Contact:

[2.0.19] Performance Degradation when looking at 15K+ spaceship inventory

Post by boldviking »

This is only a minor issue. And I only noticed it recently.

I have noticed a significant performance drop when looking at a spaceship inventory that might be a bit .... big :D.

To be exact when looking at the "show-time-usage" in F4 I can see that "Gui render preparation" rises significantly when I open my platform inventory.

See here for reference:

High render preparation:
High.png
High.png (1.38 MiB) Viewed 278 times
Low render preparation:
Low.png
Low.png (2.44 MiB) Viewed 278 times
The total inventory size available is 16609 stacks.

Also yes, its going to be bigger xD.

Overall this bug does not really impact gameplay.
I only noticed it because I moved my inventory and was like "huh, thats weird"

Once the inventory is closed everything speeds up again :)

I kinda have the suspicion that the renderer is trying to prepare a job for every item slot, which one would not see either way, since one would have to scroll for that :)

Hope this helps, if you need anything else, just ask :)
Rseding91
Factorio Staff
Factorio Staff
Posts: 14408
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [2.0.19] Performance Degradation when looking at 15K+ spaceship inventory

Post by Rseding91 »

Can you please post the save file that you're using with this issue?
If you want to get ahold of me I'm almost always on Discord.
boldviking
Burner Inserter
Burner Inserter
Posts: 5
Joined: Mon Sep 07, 2020 8:27 am
Contact:

Re: [2.0.19] Performance Degradation when looking at 15K+ spaceship inventory

Post by boldviking »

https://drive.google.com/file/d/1sxxG9u ... sp=sharing

there you go :D

Edit: The save file was older than the report ^^. Updated it with a fresh one from today :D
bombcar
Inserter
Inserter
Posts: 27
Joined: Tue Jan 28, 2020 8:31 pm
Contact:

Re: [2.0.19] Performance Degradation when looking at 15K+ spaceship inventory

Post by bombcar »

My rough calculation is there are about 300 items, times 5 quality levels, so around 1500 - so maybe after 2048 slots in a chest it should switch to Logistics style - where it shows one item per "virtual slot" and tells you how many total slots you have.
Post Reply

Return to “Bug Reports”