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.036ms worst=0.065ms
|
|
6 polys (one 6-token party): n=500 avg=0.208ms worst=0.296ms
|
|
1 poly + cellsTouched (scanline): n=2000 avg=0.048ms worst=0.120ms
|
|
6 polys + cellsTouched (scanline): n=300 avg=0.268ms worst=0.343ms
|
|
1 poly + cellsTouchedOld (prototype reference): n=500 avg=0.720ms worst=1.428ms
|
|
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.084ms worst=0.543ms
|
|
1 poly + cellsTouched, 5k sparse: n=2000 avg=0.096ms worst=0.567ms
|
|
1 move check (pathClear, cap-length step), 5k sparse: n=20000 avg=0.010ms worst=0.134ms
|
|
TARGET polygon, 5k-wall scene: 0.084 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.284ms worst=3.178ms
|
|
1 poly + cellsTouched, 5k dense: n=2000 avg=1.328ms worst=3.148ms
|
|
1 move check (pathClear, cap-length step), 5k dense: n=20000 avg=0.009ms worst=0.055ms
|
|
(sink 6023672)
|