Repository navigation
docs: performance plan for the cursor ray and traffic spawn spikes (#43) - #545
Conversation
Plan from the #43 measurements: the cabin cursor ray (one query per frame, then a per-mesh BVH) and traffic spawning (measure, then a per-call budget). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Thanks, Zane. I read the plan against Click parity (1:1)
Cheap wins for PR 1 (no BVH)
Measuring Traffic Nit Generated by Claude Code |
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…raffic timing Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Thanks for the review. Addressed in e064669 and d1eae53:
Generated by Claude Code |
What changes for the player?
Nothing. Documentation only:
docs/PERFORMANCE_PLAN.md.How to test
Nothing to test in game. Read the plan and check that the code references (
update_hover,hovered_part,pick_in,nearest_blocker,populate_seen,populate_kind,wake_dormant,road_scale) matchmain.What does this change, and why?
Adds the plan that came out of the #43 measurements (OMSI_PROFILE sessions of 24/10 and 25/10/2026):
fix/cursor-uma-consulta), then a per-mesh BVH inomsi-geometry(fix/cursor-arvore-malha).feat/profile-povoacao), then a per-call spawn budget plus the first population during loading (fix/transito-orcamento-povoacao).One PR at a time, each with a before/after measurement. The traffic cause of 25/10 is not yet measured with the profiler; the plan says so.
Checklist
cargo test --workspaceandcargo build --releasepass (docs only, no code change)Requested by Zane
🤖 Generated with Claude Code