village-builder

VB-166: A frame-time budget for the page, in headless Chromium

Status: blocked Waits for: Kim Priority: 3 Size: S Arch: yardstick Phase: implement Design ref: Vision and scope (up to about 1,000 pawns). External review of 2 November (docs/review-external.md). Goal: VB-088 budgets the simulation in Node; nothing measures drawing. A page that simulates fast can still stutter when it paints 800 pawns and the map. Measure frame times in the browser so a costly drawing change is caught when it lands. Deferred, Kim, 4 November 2026: skip the presentation budget for now. Rendering is intended to be GPU accelerated; measurements on the current computer without a GPU do not establish the presentation budget. Resume when presentation measurement is requested again. Functional browser checks and the simulation’s own 12 ms pacing budget continue to run. Acceptance criteria: