// Management · RimWorld Mod

Rim73 - Performance and Optimisations

Improves the games performance by recoding some parts of the game.

Improves the games performance by recoding some parts of the game. Load last.

The performance comparisons were made on a 60 days colony with 5 active pawns, your mileage may vary, the columns Vanilla time in ms and Rim73 time in ms, represents the time of execution.



Optimisation
Perf. increase in total (%)
Description of the optimisation
Vanilla time in ms
Rim73 time in ms
Perf. compared to Vanilla


Hediffs
+10%
Adds Time Dilatation to Hediffs (diseases) so they don't get ticked as often, this reduces the strain of Pawn_HealthTick() which adds about 15% performance in total.
130ms
11ms
91% less time per 100 ticks


Pather
+25%
It will temporarly disable pawns when enemies are trying to path but blocked by another pawn. This adds about 25% performance but is only active during combat.
-
-
-


Jobs
+50%
a totally new system for ticking jobs, this reduces the pawns scanning for jobs, instead they will only scan when they complete a job and/or after 3secs. Some activities like Sleeping, Healing, Wandering and "Going to" have been throttled massively, they represent about 80% of all ticking. This is by far the biggest contributor to performance and can reach up to 50% performance increase compared to vanilla.
305ms
59ms
80% less time per 100 ticks


Mindstate
+15%
GetDay() was simplified to simply return a new day at midnight wherever your are in the planet, instead of extremely complex calculations to simulate the Sun's posititon relative to the pawn, every single tick.
117ms
42ms
64% less time per 100 ticks


TOTAL


552ms
112ms
79% less time per 100 ticks



On average should get around 25% performance increase, this scales the more pawns you have and can easily reach up to 50%.

Requires Harmony.
This mod is compatible with RocketMan and RuntimeGC.
This mod is NOT compatible with RimThreaded.


WARNING : This is a beta version, there's probably going to be bugs in there, if you find any, please report them.


You can join the discord here :
https://discord.gg/JgCPYBPYwr