Skip to content

Record the gate results and keep the harness - #5

Merged
davidtorcivia merged 1 commit into
masterfrom
docs-gate-results
Aug 3, 2026
Merged

davidtorcivia merged 1 commit into
masterfrom
docs-gate-results

Conversation

@davidtorcivia

Copy link
Copy Markdown
Owner

The compositor gate was three open questions and a harness in /tmp. Measured on Chromium, real Firefox (Windows) and real Safari 26.5.2 (macOS) against a live WebRTC stream with the codec pinned to what the SFU negotiates.

Passes: colour parity (Canvas 2D is 0/255 everywhere), detached-element program audio, and rVFC plus its metadata on a detached element.

Open: Firefox's 4K blit cost, because headless renders in software and those numbers are worst-case not GPU. iOS stays deferred.

Two findings change the design rather than confirming it:

  • "Detached" must mean never-inserted. The HTML spec pauses a media element when it is removed from a document, so appending it later makes it un-detachable without killing program audio.
  • captureTime is absent on every engine, attached or detached, because the SFU does not relay abs-capture-time. The stats readout should not promise it.

Harness moves to tests/gate/colorparity so the numbers can be re-taken. Its README lists the traps, including that Playwright's Firefox has no H.264 on Linux at all.

Docs only plus a test harness, no production code.

The compositor gate was three open questions and a harness in /tmp.
Measured on Chromium, real Firefox and real Safari against a live
WebRTC stream: colour parity, detached-element program audio and
rVFC all pass. Firefox's 4K blit cost is still open because headless
renders in software, and iOS stays deferred.

Two findings change the design rather than confirming it. "Detached"
has to mean never-inserted: the HTML spec pauses a media element on
removal, so appending it later makes it un-detachable without killing
program audio. And captureTime is absent on every engine because the
SFU does not relay abs-capture-time, so the stats readout should not
promise it.

Harness moves into the repo so the numbers can be re-taken.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@davidtorcivia
davidtorcivia merged commit 2d01be5 into master Aug 3, 2026
11 of 12 checks passed
@davidtorcivia
davidtorcivia deleted the docs-gate-results branch August 3, 2026 02:49
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