RimWorld

RimWorld

LWM's Deep Storage
Twilight May 18, 2021 @ 1:47am
Mod performance: LWM.DeepStorage.Patch_NoStorageBlockersIn
Hi!

Long time user and fan of your mod here. I have a question regarding the mod's performance. My fps really got low over time... are there any recommendations or limits on how to use your mod? I use it quite extensively. So, i started to use dubwises analyzer to profile the harmony patches, and on top of it came out "LWM.DeepStorage.Patch_NoStorageBlockersIn", with 500 to 600 ms usage. Yes, my game runs below 2fps...

Is there something going horribly wrong or do i just use way to many storage shelves, baskets, and so on?

Kind regards

P.S.: another offender (on 2nd place) is achtung mod's patch InAllowedArea with 200ms.. didnt even know the mod has such a mechanism
Last edited by Twilight; May 18, 2021 @ 6:32am
< >
Showing 1-3 of 3 comments
lilwhitemouse  [developer] May 18, 2021 @ 10:59am 
Unfortunately, that's a very clear side effect of having a huge number of things in storage (it's fairly independent of the number of storage buildings you have). There is a mod out there somewhere that adds a caching mechanism to Deep Storage, and it seems to help!

If you're seeing that large a drop, it's probably worth finding.

Unfortunately, I don't know if it'll work with the latest version of Deep Storage. You can find their fork of DS here: https://github.com/Mhburg/RimWorld-LWM.DeepStorage - you might try using their .dll instead of mine.

Adding native caching has been something I want to do for years, but haven't actually taken the time to do it, alas ;_;
Twilight May 18, 2021 @ 12:59pm 
Hi lilwhitemouse!

Ah, no worries. I am already reliefed to hear that it's not the amount of storage structures, but the inventory count overall. I am pretty much lategame and preparing for building the ship. So my colony has approx. 20k steel now... why do the traps needs so much steel... :)

Anyway, good to hear that the problem can be solved by eating stuff and using ressources.

Thanks for the reply & i hope all is well,
Twi

P.S.: i might try the caching thing you mentioned, I'll report back if i do,
Last edited by Twilight; May 18, 2021 @ 1:00pm
Twilight May 18, 2021 @ 1:08pm 
I see that your version and the forked one continued independently, so yours has 53 commits more since last year. Well, maybe i have to do a diff myself. Perhaps i find time to help you integrate the caching if i find out how they do it?
< >
Showing 1-3 of 3 comments
Per page: 1530 50