Skip to content

perf: splat performance mode (key 'p') + perf-smoke regression guard#21

Merged
sepahead merged 1 commit into
mainfrom
perf/splat-cap-and-feed-budget
Jun 29, 2026
Merged

perf: splat performance mode (key 'p') + perf-smoke regression guard#21
sepahead merged 1 commit into
mainfrom
perf/splat-cap-and-feed-budget

Conversation

@sepahead

Copy link
Copy Markdown
Owner

Summary

Two follow-ups to the lag work (plan steps #1 + #10; #8 verified no-op).

#1 Splat performance mode (key p)

Toggle to cap splats loaded (maxSplats = 1.5M) and reload the current scene in place — bounds GPU render cost on multi-million-splat captures (render scales with splat count / overdraw). Opt-in; full quality by default.

Measured (devils-tower, 3.4M): 13.7 → 18.2 fps (+33%) with the cap.

#10 Perf-regression guard (scripts/perf-smoke.mjs)

The Playwright frame-time harness used throughout this work, codified: measures FPS across empty / light-splat / splat+feeds and fails below documented floors. Run with a live dev server + npx playwright install chromium. (CI wiring is a follow-up — needs the dev dep + a job.)

#8 Detection under round-robin — verified, no fix

exportCameraFeed only reads the (round-robin-rendered) render target, so per-camera detection degrades gracefully to ~12/N fps on valid pixels.

tsc passes.

#1 Splat performance mode: press 'p' to cap splats loaded (maxSplats=1.5M) and reload the current scene in place; bounds GPU render cost on multi-million-splat captures. Measured devils-tower (3.4M): 13.7 -> 18.2 fps (+33%) with the cap. Opt-in (full quality by default).

#10 scripts/perf-smoke.mjs: a Playwright frame-time regression guard (empty / light splat / splat+feeds FPS floors) — the harness used to find the lag and verify the round-robin + auto-frame + perf-mode fixes.

#8 detection under round-robin: verified no fix needed — exportCameraFeed reads the persisted (round-robin-rendered) target, so per-camera detection degrades gracefully to ~12/N fps on valid pixels. tsc passes.
@sepahead sepahead merged commit b10b137 into main Jun 29, 2026
@sepahead sepahead deleted the perf/splat-cap-and-feed-budget branch June 29, 2026 08:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant