Files

16 lines
892 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Parallel simulation benchmark
The headless workload uses 2,500 residents, 10,000 jobs and a 512 × 512 map with 8% blocked cells, seed 42. These Windows Release runs measured 250 ticks starting with initial job assignment, with zero warmup ticks.
| Worker threads | Elapsed | Average tick | p50 tick | p95 tick | A* requests |
| ---: | ---: | ---: | ---: | ---: | ---: |
| 8 | 3.75 s | 15.00 ms | 2.13 ms | 5.49 ms | 5,013 |
| 12 | 2.92 s | 11.67 ms | 1.66 ms | 4.25 ms | 5,013 |
```powershell
.\build\settlement_sim.exe --seed 42 --agents 2500 --jobs 10000 --map-size 512 --blocked-percent 8 --warmup 0 --ticks 250 --workers 8
.\build\settlement_sim.exe --seed 42 --agents 2500 --jobs 10000 --map-size 512 --blocked-percent 8 --warmup 0 --ticks 250 --workers 12
```
The CLI supports 2–32 workers. For fields, storage and workshops, see [the colony benchmark](colony-performance.md).