# Real web app Markdown performance proof

The app was run with `T3CODE_DEV_SEED=0 vp run dev` in two isolated checkouts on the same Linux x64 VM. Both used Chromium, a 1280 × 800 CSS-pixel viewport, and the light theme. Synthetic projects and replies were created through the real CLI, server, Replay ACP adapter, and orchestration; no database was copied or edited.

`setup.py <checkout> <4000|8000>` installs the identical scratch timing probe and replay fixture. It reads `browser-driver.js` from its own directory. Follow the CLI commands at the end of setup.py to add the project and start a completed replay thread. Run setup with 4000 and seed the first thread, then 8000 and seed the second. The replay sends 1000-word chunks to stay below the adapter per-update text cap.

Pair the browser, then open each real `/<environmentId>/<threadId>` route with `?proof=1&links=<4000|8000>&side=<before|after>&sha=<commit>`. The browser driver reopens the page nine times, excludes two warmups, and records seven samples. Each reopen creates a fresh JavaScript context; warmups warm the app/module HTTP caches. The measured `parseMs` comes from the actual `ChatMarkdown` → renderer → `wordsHast` call on the live timeline, including restoring source positions. The timing stops before serializing the HAST for hashing. No direct benchmark calls to the parser are made. The fixture is a single completed assistant reply, so the full message is parsed together.

After COMPLETE, read `window.__proofResult` with browser evaluation. Combine the four result objects into an array and run `python summarize.py measurements.json`. The raw file contains all warmup and measured values, HAST/source-position hashes, rendered HTML hashes, link counts, and insight-body presence.

The diagnostic panel displays the measurements beside the real rendered insight. Opaque masks hide environment names, workspace paths, and unrelated app controls in public captures. They do not change Markdown content or parsing. Videos show the same automated nine-open interaction on both commits. Stills were taken only after two screenshots more than 500 ms apart were byte-identical.

`openToPaintMs` is also retained for transparency, but includes cold page startup, Vite module loading and React work; it is not the reported parser metric or proof of an end-to-end navigation latency improvement.
