RimWorld

RimWorld

Dubs Performance Analyzer
668 Comments
Alu 27 Sep @ 11:11pm 
dubs analyzer contains no functions that optimize things
for it to be "improving anything" is simply placebo
its used to ID whats causing issues
BoxingBud 27 Sep @ 10:58pm 
Alu what do you mean? Can you repeat that but in a way we can understand?
Alu 23 Sep @ 5:00am 
This mod contains no optimization functions
So thats sinplu placebo or the restarting of the game fixed an error temporarily that was causing perf loss
kittyshusky 22 Sep @ 11:07pm 
I dont know why and I dont care how, but simply installing this mod instantly improved my TPS from ~90 to ~180 :steamhappy::steamhappy::steamhappy: now I feel like Im in paradise
Absolutely epic mod!
Alu 7 Sep @ 8:18am 
yes its cause of the thing to make pawns enter the gravship better
it had alot of weight for no reason
one of the devs fixed it for the next hotfix

theres too many perf impacts in vanilla to list
کhurikeŋ 7 Sep @ 5:58am 
So i guess it´s the hotfix they made to get all people in or throw randoms out the gravship for takeoff? Seems like even without any takeoff or gravship at all the game constantly checks that.

I´ll head to the discord but is there "any" other massive vanilla performance issues that i might not know about? Of Course my runs are massively modded but even vanilla the game always gets crushed by it´s own weight.
Alu 7 Sep @ 4:39am 
thats a vanilla issue
its actually IMPROVED when you get one
it will be fixed in the next update to the game
reported via dubs discord crew a bit after the last update
کhurikeŋ 7 Sep @ 3:11am 
Well i´m not into the technical part. Also i´ve noticed some heated discussions here but i´ll ask anyway:

I have some performance issues. Looking at the analyzer i just checked the percentages and i´ve found "JobGiver_BoardOrLeaveGravship" to be very high. I´m just wondering... i have no gravship so why could that be so high?
Alu 2 Sep @ 4:13pm 
and i do apologize if my wording was needlessly bad
we spent alot of time fixing burned bridges caused by users harrassing modders making it impossible for us to accurately report issues to modders about "hey your mods slow heres details"
as back when a "slow mod list" was publically available and updated
users would dox and threaten modders and burned many avenues for us to actually report issues
Alu 2 Sep @ 4:11pm 
the tool is descriptive enough that you can get a basic readline with no guide
it tells you your tps right out of the gate at each speed
which for most people who dont need to properly analyze
is enough to go "oh my tps sucks"

but when you open the analyzers menus
you see a list of every type of section in the game and more
that has a ton of lines and graphs
the entire reasons we use screenshots to help a user read the analyzer?
at first glance you can see a mod at the top and go
"oh that mods bad"
but you remove it and nothings fixed
why?
well it gets alot more complicated
sometimes a mod spikes due to a conflict caused by another mod being messy in how it handles patching
or its a replacement to vanilla and thus removing the mod didnt do anything but show you the mod was faster than vanilla
is there a guide on how to determine these conflicts?
No we do it by hand for each users case as we learn new things all the time about how some mods patch things in funky ways
Jay and Silent Rob 2 Sep @ 3:58pm 
Mod looked cool, but Alu's explicitly toxic philosophy is a turn off. Why does every game's modding scene end up attracting this kind of person? Nobody should have to go find your discord and ask you directly about how to use the mod. It should be descriptive enough on its own or passive resources should be available. Responding to such a benign and universally true statement with, "No you gotta come spoonfeed us screenshots on our discord because people harassed(?) modders when we included guides on Steam(???)" makes no sense and suggests cliquey, narcissistic control freaks behind the scenes. That's always a hard pass because you never know when people like that are going to nuke all their mods during a tantrum or something.
Alu 18 Aug @ 6:12pm 
Your not gonna find a guide pasted to steam
Users proved incapable of not harrassing modders
Most info to its use is localized to the discord for easy screenshot sharing as screenshots let us help people read it easier

As to your second question
A single tab to show all data with the highest at top
the game may crash
The act of analyzing takes some tps to try and analyze the entire game wholly at once would be tasking as can be

Most mods that are relevant to performance all show up in harmony patches anyway so that tab already mostly covers "showing all modded functions"
Exarch 18 Aug @ 1:48pm 
seconding what @Kongkim said

the mod is helpful, gives plenty of data, but it's no good (to me, an end user) if i don't know how to read it or how to analyze whats causing the issue. that said, it is fantastic as it gives plenty of info.

"Would it be possible to make a section that shows the things that stand out?
Those are using more resources and tick, etc., than the average of all the other or something like that. Think that would help people find heavy mods a lot easier, or have an idea what to look for."
Enrico 4 Aug @ 6:20pm 
harmony patches that get applied mid-game will never show up on the analyzer it seems, only ones that have been there since the beginning
Dylancd 2 Aug @ 9:20am 
Hello I cant seem to find the optimize button, was this just integrated into the mod in general?
RieBi 25 Jul @ 12:22am 
It stops working when you change languages. So to reproduce do this steps:

1. Open the game
2. Change the game language
3. Load a world
4. Open the Analyzer tab at the bottom of the screen
5. The tab doesn't work, the log is filled with errors

Here's a screenshot:

https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=3534134509
Alu 22 Jul @ 8:54am 
it should
force redownload your mod
BogB 22 Jul @ 8:48am 
Not working at 1.6
ShadowX116 22 Jul @ 12:13am 
@Pedrowser Which two mods were they?
I'm trying to read the tool, but the things that are ticking high are either Core functions, or Harmony functions (which obviously most mods can't run without).
Vectrix 19 Jul @ 5:15pm 
stupid question but what would i go to to see hediff tick rates for a pawn
Alu 18 Jul @ 5:34pm 
based on testing
1.6 is only a tiny bit slower than 1.5 was with all perf mods present

1.6 is significantly faster than 1.5 was at a vanilla level
Judge Dread 18 Jul @ 5:24pm 
Yeah. Without allot of the performnce mods we had in 1.5. 1.6 performance has overall been worse with modding.
kongkim 18 Jul @ 6:19am 
I have used the mod a few times, but I always think it's a bit hard to see what stands out unless you already know a lot about how the game runs.

Would it be possible to make a section that shows the things that stand out?
Those are using more resources and tick, etc., than the average of all the other or something like that. Think that would help people find heavy mods a lot easier, or have an idea what to look for.
Dubwise  [author] 13 Jul @ 1:25am 
pushed an update, maybe fixed
DEADSHOOT 12 Jul @ 11:34pm 
Due to the ReadingPolicyDatabase error, the mod is completely not working on 1.6
mystiq 8 Jul @ 5:59pm 
I have only two mods, this and Harmony. When I start RimWorld (1.6) I get two errors on the main menu:

1) ReflectionTypeLoadException getting types in assembly PerformanceAnalyzer.
2) Could not find a type named Analyzer.MainButton_Toggle.

When I try to load a save, the game works but the UI is unusable. The bar at the bottom is not there and I can't interact with any objects.
Dubwise  [author] 5 Jul @ 1:14pm 
updated to 1.6
Pedrowser 23 Jun @ 7:06am 
Just discovered two mods which were cousing 1.000+ ms delays, turned them off and my game is now running more fluid, this mod is a bless :steamhappy:
Lutho 21 Jun @ 6:42pm 
nah, not autosaves, its completely random, but only for 5-10 seconds and then its fine for a while. I've experimented with a few things like autosaving every 3 days instead of one, and it still does it.

I've turned on development mode and enabled verbose debugging and when the lag happens I've checked every pawn and its actions and there's no difference in how long their actions take. I'm wondering if its a driver issue now or similar. Performance its amazing otherwise which is why I'm so keen now to figure out wtf is going on...
storminfinte 21 Jun @ 11:56am 
Those might be autosaves, apparently saving is laggier in 1.6 than 1.5
Lutho 20 Jun @ 8:39pm 
Looking forward to this update to figure out why my game is buttery smooth in 1.6 except for random 5-10 seconds of lag that happens only occasionally...

Thank you for your hard work and dedication!
AzoorFox 15 Jun @ 1:02pm 
UPDATE WHEN?????????????????
Alu 12 Jun @ 8:05pm 
the beta has been out a day
give modders time
Shimada 12 Jun @ 8:02pm 
Will there be an upgrade to 1.6?
Alu 11 May @ 5:46am 
yea
hence i mentioned ui not included
it auto hides it at default
dont know why they default it to hiding it
Bon 11 May @ 4:48am 
Ok, managed to find it through UI not Included
Samuel_Bucher 11 May @ 4:02am 
@harrydubois
This mod's UI can be toggled in the settings.
Bon 11 May @ 2:58am 
There is no bottom UI, it used to be there but is now gone for some reason.
Alu 10 May @ 3:05pm 
Bottom ui
Same as in 1.4 a bottom ui button
Ui not included and a few other mods hide it so be sure nothing else
Bon 10 May @ 1:29pm 
Can't find the button nor any way to see analyzer's stats through devmode - how are you even supposed to use this mod?
It used to work fine before but is now just dysfunctional.
Acid 25 Apr @ 7:34am 
@Alu yeah i didn't mean to post that here, meant to post it on Research Reinvented. my bad
Alu 25 Apr @ 5:32am 
this is NOT the place to post that info @acid
use the discord to talk about perf impacts
posting here only causes witch hunts that may be based on inaccurate info
Nigel 8 Apr @ 10:54am 
Is it possible that this mod causes error with vanilla expanded collection loaded?
McSlashed 28 Mar @ 11:08am 
Turns out I guess I have never had this many mods that generate a button. Needed to download the UI Not Included mod and force Dubs Analyzer to show up.
Alu 27 Mar @ 11:54am 
There are no settings
Use the bottom ui to open the analyzer
Not the mod settings
McSlashed 27 Mar @ 11:02am 
Same issue as the previous two posters. I see no button for this, nothing popped up, and the mod options menu only has the "Optimizations" and "Overrides" settings. Advanced settings doesn't appear to do anything either.

I assumed that since there is no description for this mod that it would just pop up or have an obvious button.
MonsterCock69 18 Mar @ 7:34am 
@rave Hawk same problem here
Rave Hawk 14 Mar @ 4:12pm 
For some reason i dont have dubs ui - i cant check anything. Any idea what can i do?
I am able to only check or uncheck "optimizations", "overrides" (no suboptions, no table on the left) etc.
Alu 18 Feb @ 9:24am 
Each section is split into those sections on purpose
you can't view all impacts at once

Reading the tool takes practice and some idea on
What is bad in Each section

Best place to learn that
Is the discord
skillfact 17 Feb @ 10:57pm 
Can someone tell me how to see all graphs at same time so i can see the biggest impact out of everything. I assume it's in one of those menus somewhere but i can't find it, must be blind.