Rim73 - Performance and Optimisations
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
[b]+10%[/b]
Adds [i]Time Dilatation[/i] 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
[b]+25%[/b]
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
[b]+50%[/b]
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
[b]+15%[/b]
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
[b]TOTAL[/b]
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 [b]Harmony[/b].
This mod is compatible with [b]RocketMan[/b] and [b]RuntimeGC[/b].
This mod is NOT compatible with [b]RimThreaded[/b].
WARNING : This is a beta version, there's probably going to be bugs in there, if you find any, please report them.
[b]You can join the discord here : [/b]
[url=https%3A%2F%2Fdiscord.gg%2FJgCPYBPYwr]https://discord.gg/JgCPYBPYwr[/url]