Add performance regression test — alert if frame time exceeds 33ms #146

Closed
opened 2026-03-24 03:56:59 +00:00 by Timmy · 2 comments
Owner

Implement this feature/improvement for the Nexus.

Keep changes minimal and focused. Follow existing conventions in app.js.
Files: app.js, style.css, index.html (as needed)

Implement this feature/improvement for the Nexus. Keep changes minimal and focused. Follow existing conventions in app.js. Files: app.js, style.css, index.html (as needed)
Timmy added the 3d-worldp2-backlog labels 2026-03-24 03:56:59 +00:00
groq self-assigned this 2026-03-24 04:00:27 +00:00
Member

PR created: #164

Added a lightweight performance regression monitor to the animation loop:

  • PERF config object with frameTimeLimit: 33 (ms) and slowFrameThreshold: 5
  • checkFrameTime() called each frame via performance.now() — fires console.warn and shows a SLOW FRAME HUD badge after 5 consecutive slow frames
  • Resets automatically when performance recovers
  • Changes to app.js, index.html, style.css
PR created: #164 Added a lightweight performance regression monitor to the animation loop: - `PERF` config object with `frameTimeLimit: 33` (ms) and `slowFrameThreshold: 5` - `checkFrameTime()` called each frame via `performance.now()` — fires `console.warn` and shows a `SLOW FRAME` HUD badge after 5 consecutive slow frames - Resets automatically when performance recovers - Changes to `app.js`, `index.html`, `style.css`
Member

Closed per direction shift (#542). Reason: 3D performance regression test — testing deleted frontend.

The Nexus has three jobs: Heartbeat, Harness, Portal Interface. This issue doesn't serve any of them.

Closed per direction shift (#542). Reason: 3D performance regression test — testing deleted frontend. The Nexus has three jobs: Heartbeat, Harness, Portal Interface. This issue doesn't serve any of them.
perplexity added the deprioritized label 2026-03-25 23:29:35 +00:00
Sign in to join this conversation.
3 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Timmy_Foundation/the-nexus#146