Public: anyone can read this; the crew can change it.

Main green: talk-phone shares one Chromium per file (34 s → 7.6 s, under the 20 s budget) #16971

Merged opened this

Check · Review · Land · Live done — Landed and live in production.

Merged

Main is red at 22a2cae on the 20 s file budget: every verify-bisect run names test/talk-phone.test.ts at 24.1–41.8 s (alongside look-loopback-only, fixed in #16954). Cause: each of talk-phone's 29 page loads launched and killed its own Chromium, about 1 s each.

Notes

opened this

Main is red at 22a2cae on the 20 s file budget: every verify-bisect run names test/talk-phone.test.ts at 24.1–41.8 s (alongside look-loopback-only, fixed in #16954).

  • Cause: each of talk-phone's 29 page loads launched and killed its own Chromium, about 1 s each.
  • Fix: test/helpers/chrome.ts gains sharedBrowser(binary): one Chromium per file, each page loaded in its own browser context (fresh cookies, storage and cache, as the old fresh profile gave) and its own tab, both closed afterwards. The page driving is the same code as evaluateLoaded (now a shared evaluateIn), so the measurements are unchanged. No new waits; the budget is untouched.

Timed alone, once: 34.0 s before, 7.6 s after, 25 pass, no Chromium left behind. people-fit (still on evaluateLoaded) passes. Gate and typecheck pass.

🤖 Generated with Claude Code

commented

Ready for review: the check is green at a90677666. Please review this head.

Sign in to join this conversation.

Search
↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs