Part of: Rendering & haptics spec (index) · Sections: R11.3 (a sub-page of R11: the frame-time gate for R5.7; the A15 session order is R11.4) · Implements: D-05, Q-64, Q-132, Q-66, Q-383, Q-387 · Read with: display-rules.md (R5.5, R5.7)
A renderer that misses its quality level's target on the real devices does not merge. This is a manual procedure; the results table below is empty until someone measures.
The quality levels, the level each device starts on and their frame-rate targets are owned by R5.7; this page holds only the measurement. The event gate is the A15 (desktop Chrome, Q-132): it starts on Medium (60 fps target). The phone columns below are after the event. A run where the governor fires counts as a miss for the level it started on.
- Build and serve the production bundle in fixtures mode:
npm run perf:build, thennpm run perf:preview.perf:buildalso copies the fixture cards and render params intodist-fixtures/fixtures/. The preview listens on the LAN at port 4173. On the A15, openhttp://localhost:4173(localhost is a secure context).- Phones (after the event) need a secure context for WebGPU. Plain HTTP over the LAN runs the WebGL2 fallback, which is the wrong backend to measure. Either serve HTTPS (
VITE_HTTPS=1 npm run perf:preview, a self-signed certificate: accept it once on the phone), or forward the port over USB (chrome://inspect→ Port forwarding, 4173 →localhost:4173) and openhttp://localhost:4173on the phone.localhostcounts as secure. Check that step 5 reportsbackend: 'webgpu'. This is the minified production build. Only the fixtures mode adds the__sxViewerand__sxShowhooks used below, so the plainnpm run buildand the hosted copy cannot be measured this way. Close other tabs and plug laptops in. On phones, turn battery saver off and keep the screen at normal brightness.
- Phones (after the event) need a secure context for WebGPU. Plain HTTP over the LAN runs the WebGL2 fallback, which is the wrong backend to measure. Either serve HTTPS (
- Open the app in Chrome and load the fixture for the body type from the console, so the data does not vary:
This draws at
const f = (dir, name) => fetch(`/fixtures/${dir}/${name}.json`).then((r) => r.json()); const show = async (name) => __sxShow(await f("cards", name), await f("params", name), "artistic"); await show("star"); // or gas_giant, brown_dwarf, planet_rocky, planet_water, nebula, nova, asteroid_shape, comet
+ Artistic, the heaviest honesty state. The fixtures' texture URLs (/data/textures/…) and the Eros shape model (/data/shapes/eros-gaskell.glb) are not served here:vite previewdoes not run the fixtures plugin, which serves them undernpm run dev:fixtures(issue #62, Q-114). Baked bodies therefore draw their flat fallback andasteroid_shapea sphere. Measure those two undernpm run dev:fixturesor against the real backend. - Leave the view at its default framing.
- Let it run 10 s untouched, then 20 s while rotating slowly with the pointer or touch.
- Record the run in the console (fixtures build; on phones use remote debugging,
chrome://inspect).__sxPerf.record(20)samples every frame interval of the whole run, counts stalls (intervals over 250 ms) and returns the summary, the tiers at start and end,dropsfor the run and a verdict for the 30 fps floor and the start level's target. It fails a run with too few samples, a viewer that did not draw every frame, a drop, a stall or a non-event configuration, and says why. Start the body rotating first. The viewer's own stats are:await __sxPerf.record(20); __sxViewer.renderStats();
renderStats()returns{ tier, backend, frames, p50Ms, p95Ms, drops }, but its percentiles cover only the last 240 frames (under 2 s at 144 Hz) and skip intervals over 250 ms, so they are not the whole run. Recordp50Msandp95Ms(and the fps they imply),tier,backend(WebGPU or WebGL2) anddrops(quality-level drops by the governor; any drop is a miss). Call it after the 30 s run, soframescovers the whole run. On Low with a coarse pointer (phones, after the event) the viewer caps itself at 30 fps, so a p50 near 33 ms there is the cap, not headroom. - To force a quality level for a comparison, call
__sxViewer.setQualityTier('low' | 'medium' | 'high'), or open the page with?quality=high. - Repeat for each body type: star, gas giant or brown dwarf, rocky or water world, nebula or remnant, asteroid (shape model), comet.
- Pass when the fps implied by p50 meets the target and
dropsis 0. The fps is rounded to the nearest whole number before comparing (a vsynced 16.7 ms p50 counts as 60).dropsis cumulative since the page loaded, so reload for each run.
Do not fill in numbers that were not measured. Cell format: p50 ms / p95 ms / quality level / drops.
The A15 column is the event gate. The realme and Samsung columns are after the event. The Zenbook is no longer the demo machine (Q-132); keep its column only if someone measures it.
| Body type | Asus TUF A15 (event) | realme 14 Pro (after) | Samsung (after) | Zenbook 14X |
|---|---|---|---|---|
| Star | to measure | to measure | to measure | to measure |
| Gas giant / brown dwarf | to measure | to measure | to measure | to measure |
| Rocky / water world | to measure | to measure | to measure | to measure |
| Nebula / remnant | to measure | to measure | to measure | to measure |
| Asteroid (shape model) | to measure | to measure | to measure | to measure |
| Asteroid (procedural), the R11 gate body: texture size drawn, or "gate not answered" (R11.4) | to measure | to measure | to measure | to measure |
| Comet | to measure | to measure | to measure | to measure |
Record the browser version, date and commit hash with each column, plus the Win32_ComputerSystem.Model string and the GPU probe's adapter vendor and architecture (R11.4). Reviewers reject a row without them.
Measured with __sxPerf.record(20) in the vsync-off run of R11.4 step 4. Cell format: p50 ms / p95 ms / quality level / drops.
The skip is opt-in since issue #93 (Q-387): on main bloom runs on every frame, and "After (#50)" means the page opened with ?bloomgate=1. A wet planet keeps bloom, because its Sun glint passes the 2.0 threshold (94 to 151 levels on SwiftShader, e2e/bloomGate.spec.ts), so under the gate only gas giants and lit bodies without a bright emitter skip bloom (planMayBloom); stars, rocky and water worlds keep it, and their "After" cells measure the gate's own cost. Bloom is at half resolution on High and Medium in both columns (Q-383).
| Body | Before (main) | After (#50) |
|---|---|---|
| HDR emitter (nebula) | to measure | to measure |
| HDR emitter (nova) | to measure | to measure |
| Star (no HDR) | to measure | to measure |
| Rocky world (no HDR) | to measure | to measure |
| Gas giant (skips bloom under the gate) | to measure | to measure |