Files
FFF_vtt_frozen/results/bench.log
T
SirStone fcd90529b6 test(m4): finish audit, measurement and archive (#76)
- client/e2e/audit.test.mjs: independent player-browser traffic audit (own
  frame catalogue and banned-key list, never leakcheck.nim), with a
  -d:leakfault/otherVision negative control.
- client/e2e/fogbench.test.mjs + tools/fogbench.nim: 50 tokens on a
  16384 px map (server move path and headless SwiftShader cadence);
  results/m4-fog-bench.md records both honestly (SW is not the phone gate).
- Archive prototype-* under docs/archive/prototypes (Q24); DESIGN 13 M4
  done, TESTING 13 M4 accept result, HANDOFF-M4 close-out.
- mutation.sh c1/c2 patch the post-#65 tile-gate line again (they had
  silently become sed no-ops).
2026-11-21 15:43:08 +01:00

26 lines
1.7 KiB
Plaintext

== prototype scene (60 walls, 8 tokens, radius 400, cell 32) ==
1 poly (jittered start positions): n=2000 avg=0.013ms worst=0.075ms
6 polys (one 6-token party): n=500 avg=0.074ms worst=0.123ms
1 poly + cellsTouched (scanline): n=2000 avg=0.019ms worst=0.072ms
6 polys + cellsTouched (scanline): n=300 avg=0.172ms worst=0.252ms
1 poly + cellsTouchedOld (prototype reference): n=500 avg=0.685ms worst=2.616ms
TARGET polygon+cells, prototype scene (prototype baseline 0.451): 0.019 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.035ms worst=0.433ms
1 poly + cellsTouched, 5k sparse: n=2000 avg=0.047ms worst=0.451ms
1 move check (pathClear, cap-length step), 5k sparse: n=20000 avg=0.007ms worst=0.466ms
TARGET polygon, 5k-wall scene: 0.035 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=0.747ms worst=1.900ms
1 poly + cellsTouched, 5k dense: n=2000 avg=0.811ms worst=1.614ms
1 move check (pathClear, cap-length step), 5k dense: n=20000 avg=0.008ms worst=0.042ms
== egress (#28: 6 players x 40 encountered entries, 262144 explored cells) ==
GM egress pass (fresh diff base): n=200 avg=0.423ms worst=1.106ms
player egress pass (fresh diff base): n=200 avg=0.109ms worst=0.214ms
== tile gate (#65): old SQL-under-lock path vs published snapshot ==
tile gate old: parse + SHA-256 + session JOIN + HashSet: n=2000 avg=0.012ms worst=0.023ms
tile gate new: parse + SHA-256 + cache lookup + bitmap: n=2000 avg=0.002ms worst=0.024ms
explored snapshot build (262144 cells): n=20 avg=3.472ms worst=3.852ms
explored incremental mark (16 fresh cells): n=5000 avg=0.001ms worst=0.011ms
(sink 24393102)