18 lines
1.1 KiB
Plaintext
18 lines
1.1 KiB
Plaintext
== prototype scene (60 walls, 8 tokens, radius 400, cell 32) ==
|
|
1 poly (jittered start positions): n=2000 avg=0.037ms worst=0.082ms
|
|
6 polys (one 6-token party): n=500 avg=0.211ms worst=1.462ms
|
|
1 poly + cellsTouched (scanline): n=2000 avg=0.048ms worst=0.100ms
|
|
6 polys + cellsTouched (scanline): n=300 avg=0.267ms worst=0.402ms
|
|
1 poly + cellsTouchedOld (prototype reference): n=500 avg=0.720ms worst=1.433ms
|
|
TARGET polygon+cells, prototype scene (prototype baseline 0.451): 0.048 ms vs <= 0.451 ms: PASS
|
|
== 5k sparse: genScene(world=16384., n=5000, seed=1), avg walls in vision bbox 15.6 ==
|
|
1 poly, 5k sparse: n=2000 avg=0.083ms worst=0.144ms
|
|
1 poly + cellsTouched, 5k sparse: n=2000 avg=0.097ms worst=0.749ms
|
|
1 move check (pathClear, cap-length step), 5k sparse: n=20000 avg=0.009ms worst=0.231ms
|
|
TARGET polygon, 5k-wall scene: 0.083 ms vs <= 1.0 ms: PASS
|
|
== 5k dense: genScene(world=4096., n=5000, seed=1), avg walls in vision bbox 206.9 ==
|
|
1 poly, 5k dense: n=2000 avg=1.282ms worst=2.756ms
|
|
1 poly + cellsTouched, 5k dense: n=2000 avg=1.324ms worst=3.268ms
|
|
1 move check (pathClear, cap-length step), 5k dense: n=20000 avg=0.009ms worst=0.077ms
|
|
(sink 6023672)
|