Import multithreaded benchmarks
This commit is contained in:
1 parent
5c2fc9c5ce
commit
0920c64e7f
4 files changed
+170
No files matched your search
@@ -0,0 +1,15 @@
|
||||
# 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).
|
||||
Reference in new issue
Block a user