test: load-insensitive tviews perf gate; env note

This commit is contained in:
2026-11-20 22:44:55 +01:00
parent 414bb0326c
commit 0448002cc5
4 changed files with 106 additions and 40 deletions
+19 -14
View File
@@ -1,17 +1,22 @@
/home/davide/Projects/GDR/FFF_vtt-chore/server/worldmap.nim(18, 44) Warning: imported and not used: 'faults' [UnusedImport]
/home/davide/Projects/GDR/FFF_vtt-chore/server/vision.nim(31, 43) Warning: imported and not used: 'faults' [UnusedImport]
== 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
1 poly (jittered start positions): n=2000 avg=0.030ms worst=0.546ms
6 polys (one 6-token party): n=500 avg=0.180ms worst=2.611ms
1 poly + cellsTouched (scanline): n=2000 avg=0.039ms worst=0.553ms
6 polys + cellsTouched (scanline): n=300 avg=0.214ms worst=0.908ms
1 poly + cellsTouchedOld (prototype reference): n=500 avg=0.537ms worst=1.708ms
TARGET polygon+cells, prototype scene (prototype baseline 0.451): 0.039 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
1 poly, 5k sparse: n=2000 avg=0.064ms worst=0.524ms
1 poly + cellsTouched, 5k sparse: n=2000 avg=0.074ms worst=0.158ms
1 move check (pathClear, cap-length step), 5k sparse: n=20000 avg=0.008ms worst=0.578ms
TARGET polygon, 5k-wall scene: 0.064 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)
1 poly, 5k dense: n=2000 avg=1.036ms worst=2.647ms
1 poly + cellsTouched, 5k dense: n=2000 avg=1.882ms worst=6.806ms
1 move check (pathClear, cap-length step), 5k dense: n=20000 avg=0.008ms worst=0.109ms
== egress (#28: 6 players x 40 encountered entries, 262144 explored cells) ==
GM egress pass (fresh diff base): n=200 avg=0.242ms worst=0.306ms
player egress pass (fresh diff base): n=200 avg=0.082ms worst=0.103ms
(sink 6038922)