RimWorld

RimWorld

Performance Optimizer
600 Comments
AJarOfDirt 17 hours ago 
Just turned off all the cache and throttle settings and my tps went up... Also getting less random red errors.
RavenousEye Aug 31 @ 5:47am 
@ジャッキー・ザ・トキ
rocketman is no longer required (and updated to 1.6), because the most important parts of it are now in vanilla.
Is this better in comparison to rocketman?
Tree Aug 22 @ 12:55am 
this mod gives me good results. incredible! :steamhappy::zagwow:
Macbuk Aug 18 @ 12:59pm 
Incompatible with semi random research
Xeonzs Aug 15 @ 10:59am 
Nevermind, it's caused by removing the quarry mod for some reason.
Xeonzs Aug 15 @ 10:49am 
I was using the hide UI options fine yesterday and they'd reappear on hover, but today after disabling 2 mods (unrelated, tilled soil and quarry) and the auto restart cause of mod change it no longer functioned properly, I could still load up the game, but the interface elements wouldn't appear on hover and I couldn't even open the escape menu, had to alt f4.
Hot Ross Buns Aug 15 @ 8:38am 
This solved my 'Gather Spot' lag! Cheers!
CrazyBlot Aug 11 @ 10:47am 
Great job! Work well in 1.6. We are waiting for Rocket Man's 1.6 adaptation with passion.
tn.rustamov Aug 10 @ 11:53pm 
Thanks a lot. Improved my performance greatly.
[TSF] Mason 1290 Aug 8 @ 2:28am 
weird issue. it removes the pawn controls at the bottom of the screen when a pawn is selected. like, no way to draft and stuff
Zef Aug 6 @ 3:58am 
@metalgodX: you need to stop checking the FPS, FPS fluctuates all the time in rimworld, what you need to check is your TPS (get the TPS mod), that's what decides the smoothness and how fast all the pawns, and calculations run.

FPS doesn't matter, TPS does.

This mod works and does help with TPS, at least 20-40TPS increase.
Zef Aug 6 @ 3:56am 
@Naka: It shouldn't i tested this mod myself, and while i don't see major TPS differences on my main gaming rig (which can handle this game easily), on my steam deck and low powered AMD RYZEN APU notebook i see a difference of at least 20-40TPS on 3Xspeed with default settings.
Beast Aug 5 @ 5:21am 
can i add this midsave?
Naka Aug 4 @ 5:07am 
This mod for some reason makes my performance worse, considering i have a decent rig, I would say I'm better without it
GabeVonSchlossRitter Aug 2 @ 8:38pm 
How can you get so little FPS @MetalGodX?
I have a similar hardware with a 4080 SUPER instead, and I'm all the time at 220+fps.
MetalGodX Jul 31 @ 5:31pm 
@gerewoatle - with this mod installed and a colony of 8 people i get an average of 15fps, without this mod installed and a colony of 8 people i get an average of 80fps. hows that for proof. also i am not running low end hardware either so even the 80fps is still low but its playable. before you ask for my pc specs - Ryzen 9 9950X, RTX 4080, 64gb Ram @ 6400mt. not trying to be rude but i literally isolated my mod list down to this mod causing issues.
.wolf Jul 31 @ 4:15pm 
@Witch ~ His point, however poorly articulated is that you need to provide a log so that the mod author can confirm (for you) what the cause may be. At a glance, your message looks like nonconstructive criticism, so he took offence on behalf of the mod author.
biggyzs Jul 30 @ 3:29am 
[Map Preview v1.12.21] Failed to apply compatibility patches for Performance Optimizer HarmonyLib.HarmonyException: Patching exception in method null ---> System.ArgumentException: Undefined target method for patch method static System.Boolean MapPreview.Compatibility.ModCompat_PerformanceOptimizer::Optimization_WorldGrid_LongLatOf_Prefix() [Ref 9F468612]
Gerewoatle Jul 29 @ 9:48pm 
@Witch - What a rational and not at all overly defensive response.
Cyber Witch ~ Jul 29 @ 9:41pm 
Cool for you. Dont remember asking
Gerewoatle Jul 29 @ 8:57pm 
@Witch, MetalGodX - Words are cheap, proof is the rarest thing in the entire Workshop.

It also happens to be the only way to actually get whatever your mysterious, vague problem is fixed.
Cyber Witch ~ Jul 29 @ 4:38pm 
Im.getting worse performance instead lol
Templar Fry Jul 29 @ 1:18pm 
This honestly will not help as much with 1.6 on most systems.
MetalGodX Jul 27 @ 10:07pm 
Just a little tid bit, im getting better performance with this mod removed.
Max Jul 27 @ 10:38am 
ty :FFVIbouquet::FFVIbouquet::FFVIbouquet:
MetalGodX Jul 26 @ 12:50am 
Not sure if I had a setting screwed up or if i found a bug with this mod but when i have this installed i lose the bar that lets you control your pawns. i checked the settings and couldnt find anything that directly relates to that so for the time being i have to remove this mod. I spent 4 hours removing mods one by one until i removed this one.
Guss ;) Jul 25 @ 6:25pm 
thank you!!
Tangaroa Veitayaki Jul 25 @ 5:52am 
thank you
Santipapiiii Jul 24 @ 11:16pm 
Hello there, I enabled this mod and found that my right click wasn't working while focused on a pawn, I disabled it and it worked again.
Draeieg Jul 24 @ 7:52pm 
same here with psycasts expanded and meditation grinding the game to a halt on meditation as reported by molay
PhoenixLabella Jul 24 @ 7:40pm 
Running like it is a fresh start.
Thx a lot! :greedyHeart:
firshpear Jul 24 @ 7:19pm 
it's godlike!
Beans Jul 24 @ 5:39pm 
THANK YOU.
Molay Jul 24 @ 1:23pm 
Sorry I forgot to add. Running performance optimizer (this mod) does bring TPS back up to about 55 from 40 without it. So that was a great help, but looking at dub's performance analyzer there is no change for the meditation resource usage at all. Which makes sense, as it is a VPE method and you can hardly do much about optimizing linq ot toList methods I imagine :)
Just wanted to add it for completeness. This mod helps by saving resources elsewhere, but meditation remains are major issue.
Molay Jul 24 @ 1:17pm 
I figured maybe you can cache the meditation focus in some form, or only recalculate it every X ticks, say 180, while making sure it doesn't recalculate for all pawns at once but only 1 pawn can recalculate it in a given tick, perhaps?
I'm no coding wizard and I'm not familiar with the internals of the mod, perhaps there's something you can do relating to this. It has essentially killed my Odyssey at this point as meditation drops me so low.
While it seems that the meditation as whole is a massive resource hog, the Wealth focus type in on a different level entirely, with a single pawn unlocking it effectively rendering meditation impossible due to TPS issues (though I figured out how to unlearn the focus with dev commands).

Anyway, maybe this is a good place to bring this to your attention?

Thank you for all the hard work you do on your mod as well as contributor on other mods.

I wish you an excellent day! :)
Molay Jul 24 @ 1:14pm 
Hello Taranchuk, I hope you are doing well. I wanted to inquire about performance relating to Vanilla Psycasts Expanded, in which you are also involved as I understand.
During meditation, TPS plummet from well over 200 to below 40 when select foci are selected. With just the base focuses, I see TPS drop from 200 to about 80 with 6 meditators. With just one of those unlocked the wealth meditation focus, it drops to well below 40, as low as 20 TPS.
-- VanillaPsycastsExpanded.StatPart_NearbyFoci:AllFociNearby seems to be the one that's hogging all the resources. Specifically -- System.Linq.IIListProvider<ValueTuple<Thing, List<MeditationFocusDef>, Single>>:ToList being called each tick.
Is there something you can do about it this, in this mod or the VPE mod proper (even better I'd imagine)?
BoBovich Jul 24 @ 11:08am 
My god. You save my game. Thanks a lot!!!!!!
Renzor Jul 24 @ 9:06am 
huzzah! wasnt sure this would get updated since 1.6 did a bunch of performance stuff
Ghojo Jul 24 @ 8:52am 
Thank you good sir for making this mod, you are a true wizard !
Eemzal Jul 24 @ 3:42am 
thx for 1.6 update!
Realm Imp Jul 24 @ 3:06am 
no freaking way. no way. omg i really cant believe it. its like... no way
lloki Jul 24 @ 2:28am 
Niceeee. Especially that the 1.6 vanilla performance fixes are not really helping as much as I thought they would.
charlieo123 Jul 24 @ 2:24am 
Dragged my tps from 80 to 120+. Not as significant as I expected but a lifesaver nevertheless. Thanks for the great mod!
Ta Jul 24 @ 1:57am 
thx:Gifting:
Alex_ Jul 24 @ 12:05am 
bless u, we're so back, what's the average performance upgrade over 1.6?
Taranchuk  [author] Jul 23 @ 11:54pm 
fixed an issue with TryGetHediff on null hediffs
Smarw Jul 23 @ 10:45pm 
god bless u
BHZRD_guy2 Jul 23 @ 9:55pm 
WE ARE SO BACK
rex6564 Jul 23 @ 8:04pm 
tank u