branchrust_reboot/main/prefab_process_optimcancel
4 Commits over 0 Days - ∞cph!
Merge: from main
Catching up assets to the point of failure (I hope?) - still trying to reproduce NRE during server bundle generation
Tests: perf test for FileSystem Warmup
Recent optims show prefab processing cost for entire server-warmup goes from 39s down to 4.5s (averages across 5 runs)
Tests: ran the perf test
Cherrypick(hackweek_procgen_async) Optim: PrefabPreProcess.FindComponents is now using GetComponentsInChildren
With profiler, this ended up 2x faster than old way (lighthouse monument goes from 96ms to 46ms)
Tests: used old code inline to validate outputs of new code
Cherrypick(hackweek_procgen_async) Optim: PrefabPreProcess - replace GetComponent with TryGetComponent
Those are cheaper since they do less allocations and text formatting. Saves ~35s (but new flow is still slower).
Tests: ran procgen with early out