fauna: cost bound from both paired readings (whale-rig-s1 fix batch 2)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
soul 2026-12-01 05:16:30 +01:00
commit b5022e971a

View file

@ -32,9 +32,9 @@ namespace Aetheria.EditorTools
// Cost bound (lodur:ruling:deterministic-bound-margin): median ms per frame of three Present calls, three whales of 770
// spring joints, Starfire (Ryzen 3 3100, GTX 1070), editor batchmode, 2 substeps a frame, drawn-pose collision rounds and the
// Burst bounds job included, other agents' load on the machine. Paired interleaved rounds of 60 frames, shipped against Burst
// off: shipped worst 0.728, least mutant 10.28 (Burst off), separation 14; bound sqrt(0.728 x 10.28) = 2.73. The managed
// off: shipped worst 0.881 (runs 0.728, 0.881), least mutant 10.13 (runs 10.13, 10.28), separation 11; bound sqrt(0.881 x 10.13) = 2.99. The managed
// bounds loop it replaced cost about 0.9 ms of the 1.5 ms this read before (Soul).
const double CostBoundMs = 2.73;
const double CostBoundMs = 2.99;
static readonly List<GameObject> Scrap = new List<GameObject>();
static readonly SwimSettings NoSwim = new SwimSettings { PeriodSeconds = 1, Axis = new float3(1, 0, 0) };