Simulation benchmark ledger
This directory stores reviewed benchmark snapshots. Each snapshot must name the workload, seed, Godot version, hardware context, sample count, simulated tick count, and important exclusions so later comparisons remain honest.
Run the current scaling harness from the project root with Godot 4.7:
/Applications/Godot.app/Contents/MacOS/Godot \
--headless --path "$PWD" \
--script res://tools/benchmark_simulation_scaling.gd
The default report is written under user://. Pass
-- --host-label="<hardware>" --output=res://docs/benchmarks/<name>.json only
when intentionally capturing a reviewed project baseline.
Loaded-resource discovery has its own bounded runner:
/Applications/Godot.app/Contents/MacOS/Godot \
--headless --path "$PWD" \
--script res://tools/benchmark_loaded_resource_discovery.gd
Reviewed captures:
- Simulation scaling baseline 01 records the first full-fidelity population/history measurements and the bounded next optimization.
- Simulation scaling baseline 02 records checksum-identical results after the shared per-tick population view: the 600-NPC case is 23.3% faster, while small fixtures expose its fixed cost.
- Simulation scaling baseline 03 versions the workload after conflict was added, requires one authoritative combatant per synthetic NPC, and records 90.63 ticks/s at 600 full-fidelity records.
- Loaded Resource Discovery 01 compares the former all-node scan with the exact resource-anchor grid at 18, 180, and 1,800 loaded sources.