RimWorld

RimWorld

35 ratings
SemiRandomResearch Lag Hotfix
   
Award
Favorite
Favorited
Unfavorite
Mod, 1.5
File Size
Posted
245.995 KB
3 Jun, 2024 @ 1:48am
1 Change Note ( view )

Subscribe to download
SemiRandomResearch Lag Hotfix

Description
Why a Hotfix?
The current fork of SemiRandomResearch has significant performance issues with automatically selecting research projects. By default, it tries to scan all research projects for each research type (Anomaly Advanced, Anomaly Basic, and Base Game) every single tick, even if a project is already in progress for that type.

Solution
The update adds options to prevent scanning research types if a project is already selected. Additionally, I've introduced an option to perform these checks every X ticks instead of every single tick. This reduces unnecessary checks and enhances performance.

Impact
With these changes, in a setup with 25 pawns and an 800-mod pack, my TPS increased from 200-300 before the patch to a consistent 900 (the speed4 limit) with no drops. It now works flawlessly!
15 Comments
Spode_Mode 7 Jul @ 7:07pm 
magic
Arthur GC 8 Jun @ 12:26pm 
25 colonists with 800 mods with 900 tps?????????? How? What's your configuration?
David 21 May @ 6:45am 
give us your magic performance enhancers wizard
David 21 May @ 6:41am 
25 colonists with 800 mods with 900 tps at 4 speed? are you using a 30th generation intel chip from the future?? share your secrets
FerrisCG  [author] 27 Jan @ 2:18am 
Semi un-needed now
strkrjns 26 Jan @ 12:22pm 
Still helpful?
XXXII 11 Dec, 2024 @ 1:29am 
excellent
Jake Armitage 15 Jun, 2024 @ 1:02pm 
@Ferris Would it be possible to turn the Hediff patch into a mod or is that not feasable?
GrobmotoriGER 11 Jun, 2024 @ 1:02pm 
Heads up: I updated SemiRandomResearch to hopefully improve the autoResearch performance.
I was not able to reproduce any performance impact of autoResearch previously so I cant be sure my changes work.
If you used autoResearch and had a performance impact please let me know at my SemiRandomResearch page how it is with the update.
Khabraxis 9 Jun, 2024 @ 5:13am 
I love random research and ive lost several playthroughs from horrendous uncontrollable lag. pretty sure this would fix it so thank you for making this.