UnlimitedHugs / RimworldAllowTool

A set of tools to simplify common tasks in Rimworld.
https://ludeon.com/forums/index.php?topic=17218.0
Other
60 stars 34 forks source link

HaulUrgently workgiver tanks a lot of perfomance while having 0 items to haul with it #40

Closed bustedbunny closed 5 months ago

bustedbunny commented 3 years ago

image With modified Wiri fork of Dubs Perfomance Analyzer I was able to store data about 1 full in-game day in late game colony. So far, I have 0 items marked with haul urgently designation. Yet it's workgiver takes the most CPU time. As suggestion: It can be optimised by using AnySpawnedDesignationOfDef of DesignationManager in ShouldSkip.

UnlimitedHugs commented 2 years ago

Hey, appreciate the report. However, HaulUrgentlyRefill is not part of AllowTool, must have been added by another mod. I might still add the precheck you suggested, though.