Browser timing checks run on the perf VM #184
Open
opened 2026-10-12 08:00:31 +00:00 by kayg
·
56 comments
No Branch/Tag specified
main
j470b-server-mesh-rejoin
mesh-compat-382
j444b-d381-key-wins-flood
j461b-macos-utun-reader-thread
j475b-remove-host-motion
fix-reconnect-new-link
j481-d380
dev
j479-mesh-soak
fix/j476-host-facts
j475-motion-pill-split
j470-mac-node-join
root-upgrade-d376
j474-review-merge
latency-targets-120hz
nightly-suite-shards
gotatun-pin-j469
macos-utun-reader-thread
fix-flood-echo-stall
wip/j416
motion-fast-ease-out
mesh-addhost-j259
takeover-close-terminals-d368
kbd-instant-followups
fix-trust-key-double-click
nightly-suite-partial-report
appwin-icons-j207
rusqlite-slice1
swipe-content-first-d374
mesh-mtu-381
addhost-instant-open
glass-contrast-d365-mock
glass-contrast-d365
signout-followups-442
fix-startup-toast-red
research-gotatun-matrix-j317
themes-sync-j304
fix-load-flakes
fix-nix-zig-patch
fix-compute01-browser-baseline
ratchet-size-baseline-419
predict-auto-d130
revoke-coverage-d367
nightly-suite-queue-timeout
nightly-browser-suite
fix-rustsec-2026-0459
fonts-ioskeley-obel
log-retention-d375
fix-kbd-no-anim-427
fix-dev-red-specs-2
takeover-proof-305-j205
wip/j410-server-pump
ui-consistency-d372
fix-osc52-clipboard
libghostty-vt-1.0
forget-retired-host-d369
j404-merge-426
fix-setup-lock-race
fix-touch-select-426
revoke-access-report-ui
fix-predictive-echo-specs
fix-selinux-agent-exec
wip/j395-checkpoint2
wip/j395
j391-review-scratch
ui-consistency-j195-deferred-rebased
fix-rustc-paths-421
decisions-wording-341
fix-install-suite-red
fix-dev-rtt-specs
fix-pending-removal-align
fix-privileged-skip
fix-install-suite-404
review-j368
mesh-dns-j254
revoke-access-report-d356b
revoke-privilege-round5
fix-removal-confirm
review-j360
gotatun-rotation-367
deps-refresh-340
review-j354
review-J351
review-j350
addhost-takeover-d359
revoke-report-items-347
revoke-end-sessions-d362
review-j348
size-mesh-ssh-346
size-trim-337
revoke-access-diff-d356
j259-pre-rebase-b06c5a6
j305-ended-at-start-spec
addhost-sudo-consent
fix-layout-real-specs-411
fix-shell-open-411
fix-console-hosts-373
fix-shell-exit
fuzz-host-name-353
fix-host-details-410
macos-filter-j197
research-gotatun-tricks
revoke-p3-j216l
stale-state-pill
revoke-followups-j216k
revoke-progress-j216e
backup/macos01-20261106/lume/j197
backup/macos01-20261106/lume/appwin-icons-j207-stash0
backup/macos01-20261106/claude/stash-0
backup/macos01-20261106/claude/stash-1
backup/macos01-20261106/claude/J80-macos-s1
backup/macos01-20261106/claude/J80
backup/macos01-20261106/claude/J80-slice1-20261102
backup/macos01-20261106/claude/J16b-appwin-on-dev
backup/macos01-20261106/claude/appwin-launch-idle-146
backup/macos01-20261106/claude/J80-s1-run
wip/j259
trust-285-p3c
runtime-lock-j216f
mesh-ssh-p3-j175
tun-proof-p3b
trust-285-p3
terminal-polish-j271
tun-proof-p3
ssh-install-flakes-j216i
fuzz-fixes-j264
trust-285-a
trust-285-b
restart-oversized-fixture-j198
backup/macos01-20261106/lume/appwin-icons-j207
restart-bound-j216h
up-preflight-p3-j198
backup/macos01-20261106/lume/j251
up-preflight-j198
wip/up-preflight-j198-j245-p2
wip/up-preflight-j198-j245-p1
agent-fsync-offloop-j196
wip/up-preflight-j198-j245
settings-offscreen-j231
wip/up-preflight-j198-j226-inspection
wip/j103f
themes-j206
wip/up-preflight-j198-j226
flakes-j216c
backup/macos01-20261106/claude/j197
flakes-j216b
backup/macos01-20261106/claude/j197-red
wip/up-preflight-j198-review
flakes-j216
backup/macos01-20261106/claude/appwin-icons-j207
engineering-j208b
appwin-mock-j209
toast-stack-j165
engineering-j208
decisions-d351
decisions-d350
decisions-d349
appearance-presets-mock-j129
decisions-d348
docs-audit-spec
doc-coverage-baseline-raise
decisions-d347
decisions-d346b
decisions-d346
j88h-profile
ui-consistency-j195-deferred
ui-consistency-j195
engineering-practices-j194
preferred-login-ui-j166
signin-pools-263-j174
macos-node-265-s1
decisions-d345
decisions-d344
proxy-cgroup-j164
verify-quick-fuzz-329
proxy-start-io-j168
timing-flakes-j163
up-263-s1
mcp-events-j147
verify-quick-fuzz-j158
proxy-p3-j159
agent-resource-j157-detect
wip/j103d-final
remote-cancel-hang-j155
proxy-traefik-281-j62d
j149-verify-quick
proxy-traefik-281-j62b
j150-drop-unnamed
wip/j79d-red-r4
wip/j103d-d332
rootless-toast-j142
wip/j103d-head
wip/j103d
j125c-mcp
macos-build-j136
backup/macos01-20261106/claude/j136
wip/j79d-red-cli
wip/j79d-red-server
j121-link-liveness
j118c-tracer-failures
wip/j79c-head
release-desktop-j131
j124c-signed-macos
wip/j79c-red-p3
wip/j79c-red-p23
wip/j79c-red-p22
merge-j128-check
perf-deferred-j128
sidebar-toggle-260
j127-shortcut-changed-dot
j125-mcp
j118-tracer-failures
j126-account-summary
settings-sections-mock-j92
j120-pinch-lock
sidebar-292
backup/macos01-20261106/claude/j120
taste-2026-11-03
row-actions-242-215
backup/macos01-20261106/claude/stash-0-untracked
backup/macos01-20261106/claude/J80-265-s1-run
backup/macos01-20261106/claude/J80-macos-s1-20261102
j112-canvas-commands
ui-no-overshoot-scroll
fix-recovery-restart
backup/macos01-20261106/claude/stash-1-untracked
taste-2026-11-02
size-baseline-ratchet
machine-cards-structure-j108
j109-boot-copy-mockups
fix-dev-red
wip/up-263-s1
j95b-settings-rows
proxy-traefik-281
j95-option-rows
docs-human-j91
docs-keys-palette
fix-flood-1013-270-j38d
mesh-ssh-s1
mesh-ssh-s0
addhost-d291-tunnel
test-stability-load
mesh-relay-220
repro-296
shim-thp-off-24
mesh-pins-258-v2
mesh-dns
signin-d311-merged
docs-pages
ui-size-283
fix-ui-batch-specs
wip/j12b-edge-update
gate-on-arm
fix-rename-sync-293
trust-285-j60b
fix-focus-ring-clip
integ-ui-1101
edge-update-v2
signin-d311
taste-2026-11-01
layout-per-tab-250
ui-approved-splitopt-224
ui-approved-splitopt-224-on-dev
icon-text-centre-282
ui-approved-189-212-216
research-reverse-proxy
transfer-budget-320
review-mesh-pins-258-r2
sidebar-pill-259
review-mesh-relay-220
wip/j12-edge-update-v2
nix-package
status-crash-loop-237
fix-dev-test-failures
fix-fixture-socket-path
wip/mesh-relay-220-pre-dev-advance-rebase
fix-canvas-side-clip
research-head-to-head
frosted-real-256
review-mesh-pins-258
wip/mesh-relay-220-pre-final-rebase
review-layout-per-tab-250-r2
broad-suite-triage
nix-devshell
review-status-crash-loop-237-r3
wip/nix-devshell-pre-p3
taste-frosted-real
wip/code-serve-demo-2026-10-30
wip/code-serve-glass-2026-10-30
wip/code-serve-clusters-2026-10-30
wip/code-merge-release94-dev-2026-10-30
wip/rproxy-delta-scratch-2026-10-30
wip/stale-note-257-staged-2026-10-30
wip/d241-size-staged-2026-10-30
review-broad-suite-207
wip/mesh-pins-258-pre-split
wip/mesh-relay-220-pre-rebase
mesh-measure-220
plan-211-update
review-edge-autoupdate-r3
perf24-reconnect
review-stale-note-r2
release-prod-live
d241-shell-marker
review-mesh-pins-server-258
review-revocation-r3
review-setup-token-r2
review-sync-journal-r3
wip/review-mesh-pins-258-prune-review-1995fee46
frosted-scroll-256
sync-journal-r3
revocation-per-account-wip
review-tokio-asyncfd-0386
review-sync-p3s
wip/stash-8by64-stash0-2026-10-30
mesh-drag-r2
setup-token-data-wip
release-9-4
auth-busy-1013
mesh-view-overlap
sync-p3s
review-auth-busy-wake
review-readd-r8-wip
mesh-drag-bounds
audit-auth-93
app-windows-stream-start
review-authority-cap-r3
app-windows-r7-measure
readd-minimal-r6
readd-minimal-r5
app-windows-r7-soak
readd-minimal-r4
app-windows-r7
app-windows-r6
readd-minimal-r3
readd-minimal-r2
readd-minimal
merge-release8-dev
review-busy-page-liveness-r2
review-busy-page-liveness
mesh-view-trim
review-authority-read-retry-r2
review-remove-uninstall-r2
release-retry-reattach
release-retry
review-remove-uninstall
review-authority-read-retry
app-windows-ship
mesh-autoswitch-p2
mesh-ssh
mesh-relay
mesh-macos-node
screen-and-control
session-labels
review-real-logins-r5
review-real-logins-r4
review-real-logins-r3
shim-memory-r2
review-real-logins-r2
shim-memory
shadow-addhost-instant
shadow-real-logins
shadow-same-session-flood
shadow-prod-perf-fix
hosts-from-server
app-windows-real
app-windows-transport
release-prod-6w
mesh-policy-verify
quiet-close-toast
dev-merge-r4
review-mesh-agent-transport
review-app-windows-transport
settings-roundtrip
review-release-pipeline-r4
mesh-agent-transport
ended-strip-fix
review-audit-ca-update-d244
settings-rows
phone-width
signout-clear
fix-restart-tests
dev-merge-rp
signer-hardening
review-audit-ca-update
terminal-fidelity
review-audit-ca-update-wip
mesh-integrate
review-mesh-agent-transport-515d3712
review-mesh-dataplane-feec1988
mesh-dataplane
signout
research-canvas-node
wip/review-renderer-cost
wip/review-terminal-fidelity
padlock-glyph
review-release-pipeline-2e95b689
phone-polish
sidebar-polish
inbox-generic
review-mesh-dataplane-378d4055
prod-batch
ui-inbox
ui-ca-unlock
ui-machine-sections
review-mesh-dataplane-a5f744fb
tls-session-prod
session-bounds-prod
fix-dead-session
session-bounds
tls-session
palette-polish
shortcuts-d222
research-appmeta
phone-gutter
ui-centre-button
wip/ui-centre-button
wip/tls-session
review-addhost-breakit
ui-platform
renderer-cost
remote-agents
mesh-api
ssh-bootstrap
prod-hotfix2
prod-fixes
review-remote-agents
review-mesh-dataplane
session-life
research-browser
review-mesh-api
research-capture
review-mesh-api-round3
review-mesh-api-round1
gate-stability
review-gate-stability
review-relay-direct
review-mesh-api-findings
proto-sessions
font-picker
proto-addhost
proto-windows
mesh-core
latency-gate
research-bsd
research-discovery
keytray-mods
mock-core
ui-tweaks
fix-motion-sel
fix-motion
integrate2
fix-robust
t-web
t-server
vt-ghostty
fix-snap-echo
t-web-auth
review-vt2
t-agent
lane-protocol
lane-shim
lane-auth
s1-base
s1-contracts
s1-workspace
No results found.
No labels
launch-qa
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".
No due date set.
Dependencies
No dependencies set
Reference
kayg/infraternal#184
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Move browser timing checks from the loaded build host to the dedicated performance VM. Add idempotent VM setup and a run/A-B script that builds locally, transfers only required artifacts, locks and records the VM environment, runs Playwright specs with their existing RTT settings, returns reports and traces, and cleans up. Document usage and prove the three production-red checks tracked by #176 with an interleaved 3-run comparison of
1f77a449and origin/release-prod-3w. Parent: #176.Starting on
perf-vm-browser, base638e4f1e9114969ed431feb5aa9f8498f2225dc7(origin/dev). Read #184 and parent #176 history; no earlier #184 work. #176 acceptance remains unmet with theme long-task, prediction/resume, and access first-paint failures; limits and sample counts stay unchanged. Building the VM browser setup/runner, then the prescribed base1f77a449vsorigin/release-prod-3wthree-run A/B and a usage note. No deployment.Perf VM finding: strict NetBird SSH to
root@10.69.69.208succeeded; under/var/lock/perf-bench.lock, the host reports 4 vCPUs, Debian 13, kernel6.12.69+deb13-amd64, load0.13 0.22 0.27, and 91 GB free.bun,node, andrsyncare absent;fc-listis present. Local Bun is 1.4.2, andapps/tracer/bun.lockpluspackage.jsonare unchanged between1f77a449andorigin/release-prod-3w.apps/tracer/playwright.config.ts:43currently rebuilds inwebServer; the runner must serve the locally builtdist. The existing config intentionally keeps arbitrary browser traces off because auth ceremonies can contain capabilities; the runner will preserve that and return only test-produced result artifacts.TypeScript check setup finding: the initial
bun run checkfailed with TS2688 becausebun-typesandnodetype definitions were absent from this worktree'snode_modules. Shell syntax and Python AST checks passed. Installing the repository lock withbun install --frozen-lockfilebefore retrying; no source change is implied by the missing dependency tree.Perf VM transfer finding: the one-time apt step installed rsync 3.5.0 and the Noto/Liberation/DejaVu font packages. The first
rsync -e 'netbird ssh ...'failed before transfer because rsync supplied-l root <peer>, which NetBird parsed as its log-level option:failed parsing log-level root: not a valid logrus Level: "root". Directnetbird ssh --no-browser --strict-host-key-checking root@10.69.69.208remains successful; no host key was accepted or changed. Adding a narrow rsync shell adapter for the named peer.Remote-shell finding: invoking
bash -lcthrough the NetBird CLI did not preserve the nested command argument; setup ended withchmod: missing operand. The login shell also emitted its startup environment before command output. I replaced nested login shells with a single remote command string and non-login Bash for staged scripts, avoiding startup output and keeping the exact remote operation explicit.Setup finding: the pinned Bun 1.4.2 archive downloaded successfully (34.9 MB), then installation stopped because the destination
toolchain/bun-1.4.2/bin/had not been created. Setup now creates the versionedbindirectory before installation and removes an incomplete download on retry. VM packages are installed; rerunning the idempotent setup.VM setup completed from branch
perf-vm-browserat638e4f1e9114969ed431feb5aa9f8498f2225dc7. Under/var/lock/perf-bench.lock, installed Bun 1.4.2, Playwright 1.61.1, Chromium 149.0.7827.55 and WebKit 26.5; Debian 13 font package versions and matches are recorded atevidence/perf-vm-browser/setup-versions.txt. During local dry review, corrected a staging argument error before any measurement; the run now passes each selected spec once to the staging walker.Harness finding: the first A/B invocation completed all six slots but no test specs ran. Each Playwright run exited 1 after 1.3–1.4 s because the historical configs ran
bun run buildon the VM; the staged payload intentionally containsdistand selected tests, not the build source.playwright.jsonrecordswebServerexit 1 with emptysuitesfor all six runs underevidence/perf-vm-browser/20261012T083058Z-219211621-2051692/. Updated the staging adapter to enable prebuilt-bundle serving for older configs and fixed EXIT cleanup to capture the run ID. The failed harness attempt is excluded from the comparison; its VM payload was removed under the lock.BASE-1 completed on the 4-vCPU VM at
1f77a449; pre-run load was 0.21 / 0.36 / 0.35 and duration was 284.638 s. The theme check passed: p99 1.000 ms, 0 long tasks over 50 ms.terminal.spec.tsreported returning sign-in p99 5013.40 ms / 5000 budget, reconnect p99 1015.20 ms / 900 budget, predicted glyph p99 13.90 ms / 17 budget, and prediction CPU p99 2.200 ms / 2 budget; the access screen render p99 was 1973.90 ms for setup and 2196.10 ms for sign-in against 1000 ms. These are first-slot observations; A/B slots remain in progress. Playwright encodes test stdout as base64 buffers in its JSON report, so I updated the summary parser to decode those measurements.HEAD-1 completed on the 4-vCPU VM at
4855e033; pre-run load was 0.60 / 0.63 / 0.47 and duration was 276.462 s. Theme p99 was 1.600 ms with 0 long tasks over 50 ms. Returning sign-in p99 was 4010.40 / 5000 ms (pass); reconnect p99 was 996.60 / 900 ms (fail); predicted glyph p99 was 14.70 / 17 ms (pass); prediction CPU p99 was 0.600 / 2 ms (pass). Access render p99 was 1655.30 ms for setup and 2238.20 ms for sign-in (both over 1000 ms). Four of six slots remain.BASE-2 completed in 287.216 s on the VM; pre-run load was 0.56 / 0.62 / 0.52. Theme remained green (p99 2.000 ms, 0 long tasks >50 ms). Reconnect remained red at 973.00 / 900 ms; setup/sign-in render p99s were 2279.30 / 2213.10 ms against 1000 ms. Returning sign-in was 5016.70 / 5000 ms; predicted glyph was 27.40 / 17 ms; prediction CPU was 4.400 / 2 ms. One base and one head slot remain. These additional terminal metrics vary between slots, while reconnect and access render are consistently over budget so far.
HEAD-2 completed in 284.435 s; pre-run load was 0.50 / 0.82 / 0.67. Theme p99 1.900 ms, no long tasks >50 ms. Reconnect p99 1011.60 / 900 ms failed; setup/sign-in render p99 2256.30 / 2150.30 ms failed against 1000 ms. Returning sign-in p99 5015.00 / 5000 ms also failed; predicted glyph and prediction CPU passed at 13.90 / 17 ms and 1.400 / 2 ms. Two final slots remain.
BASE-3 completed in 152.387 s; pre-run load was 0.21 / 0.51 / 0.58. Theme passed at p99 2.000 ms with no long tasks >50 ms. The first terminal test failed before emitting login/resume metrics:
window.__tracerTestDouble.isConnected()did not become true within its 5 s predicate timeout. Access render p99 remained red at 2704.00 ms (setup) and 2273.70 ms (sign-in) against 1000 ms. The terminal connection failure is retained as a run failure; its missing resume metric is not counted as a pass. One HEAD slot remains.HEAD-3 completed in 298.462 s; pre-run load was 0.89 / 0.59 / 0.60. Theme p99 2.500 ms, zero long tasks >50 ms. Reconnect p99 1012.50 / 900 ms failed; setup/sign-in render p99s were 2926.30 / 2322.70 ms against 1000 ms. Returning sign-in p99 passed at 4966.70 / 5000 ms, while predicted glyph p99 failed at 26.50 / 17 ms. All six requested slots are complete; summary and raw results are under
evidence/perf-vm-browser/20261012T083333Z-726800496-2080513/.Repeated
scripts/perf-vm setupcompleted successfully under the VM lock. Bun reported all 38 locked installs already present with no changes; Playwright's dependency install reported 0 upgraded/new/removed packages; browser versions remained Chromium 149.0.7827.55 and WebKit 26.5. The recorded setup file was refreshed atevidence/perf-vm-browser/setup-versions.txt.Real-server harness finding: the first local static binary build stopped before any VM run because the pinned musl wrapper expected Zig at the revision-specific scratch target's
auth-tools/zig/zig. The runner had not yet calledscripts/auth-toolchain. Evidence:evidence/perf-vm-browser/20261012T093327Z-2805033779-2818866/build.logreports that exact missing path. No real-server timing was measured. I am adding the repository toolchain bootstrap before the local binary build and will retry.Optional real-mode validation built and transferred the 23,655,526-byte static binary, then ran real/host-facts.spec.ts on the VM (revision
4855e033, 24.429 s, exit 1, pre-run load 0.14/0.04/0.06). Both assertions failed: the Host popover had no Kernel row; the low-memory toast reported 6,807 MiB free and 0 sessions, while the fixture expects 1 session. Raw JSON and environment are in evidence/perf-vm-browser/20261012T093952Z-3236422064-2875539/runs/run-1/. This spec is outside the required A/B; no product change was made.Repeated scripts/perf-vm setup after the dependency-presence guard change: exit 0; Bun 1.4.2; Playwright 1.61.1; Chromium 149.0.7827.55; WebKit 26.5; Bun reports 38 locked packages unchanged. Updated record: evidence/perf-vm-browser/setup-versions.txt.
Transport module committed and pushed:
402130633d. Gate:bash -n scripts/perf-vm-rshexited 0.Selected-input staging module committed and pushed:
3fb91c2c2f. Gate: Python AST parse andgit diff --checkexited 0.A/B reporting module committed and pushed:
8f9e32e8f0. Gate: Python AST parse andgit diff --checkexited 0. The regenerated six-slot report records theme p99 1.0–2.5 ms and 0 long tasks; it retains the reconnect and access-screen failures with their per-run load records.Pinned VM runtime and remote runner module committed and pushed:
553c2089f1. Gate:bash -n scripts/perf-vm-remote.shandgit diff --checkexited 0. Repeated setup verified 38 locked packages unchanged and the recorded browser/font versions.Runner integration and the staged-bundle Playwright config committed and pushed:
00e8a490d3. Gates:bun run checkexited 0; shell syntax andgit diff --checkexited 0. Functional evidence: the required six-slot A/B completed and the single theme run passed on the VM.Performance-process documentation committed and pushed:
03bd476a27. Gate:git diff --checkexited 0.Perf-VM evidence and author checklist committed and pushed:
c716b75a99. The evidence commit contains 421 files (16,232 text lines plus browser captures);git diff --cached --checkexited 0. The six-slot A/B records theme p99 1.0–2.5 ms with zero >50 ms tasks and six setup/sign-in upper-bound failures; raw VM records and captures are under evidence/perf-vm-browser/20261012T083333Z-726800496-2080513/.Resuming after the AI service sign-in expired. Branch
perf-vm-browseris clean atc716b75a99f4ac5c66e39593283cd968e7fb8855, based on638e4f1e9114969ed431feb5aa9f8498f2225dc7(origin/dev). Read #184 and parent #176 histories. The setup, runner, docs, required six-slot A/B, and evidence are already committed; the A/B table is on #176. Completing review and the final branch-head gate.Finished review on
perf-vm-browserat headc716b75a99f4ac5c66e39593283cd968e7fb8855(clean; matchesorigin/perf-vm-browser). The setup, runner, process documentation, setup record, A/B raw reports, and author checklist are committed. The required three-pair comparison (1f77a449vs4855e033,test/terminal-theme.spec.tsandtest/terminal.spec.ts) is posted on #176; theme passed all six slots at p99 1.0–2.5 ms with zero >50 ms long tasks, reconnect exceeded budget in all five measured slots, and setup/sign-in render exceeded budget in all six. Raw evidence:evidence/perf-vm-browser/20261012T083333Z-726800496-2080513/.Final checks: shell syntax, Python AST,
apps/tracerbun run check, andgit diff --checkpassed.scripts/verify fastexited 1. Final summary verbatim:The test row failure is
real_binary_preserves_input_and_output_across_24_abrupt_stops: its build-host idle-RSS assertion (idle < 15 * 1024) failed. The static binary was 21,709,776 bytes against the existing 16,404,816-byte cap. This change touches no Rust sources or build configuration; the memory result was not used as performance evidence. I did not waive either failure.Starting the requested perf-VM remeasurement on
perf-remeasure, basec0d01d2285b92ea8e452f10a3a0d8b479fa1bff8(origin/dev). Read #184 and parent #176 histories. The prior #176 acceptance run failed; its pushed evidence head is2562ee88, with production code frozen at9cf26b07. This run adds the requested #176, #182 and #169/#160/#168 comparisons on the perf VM; no product code changes.Runner integration completed: merged
origin/perf-vm-browserat local merge SHA113adcde. The VM setup command is still waiting without output; no timing run has started.Input review:
ab.mdrecords three specs, while the task explicitly addssessions-canvas; all four named specs exist at both batch-4 refs. I will run the four explicit specs: terminal, dead-session, sessions-canvas, and theme. Perf VM setup is still waiting without output; no timing slot has started.Finding: the perf-VM nonblocking lock probe (
netbird ssh --no-browser --strict-host-key-checking root@10.69.69.208 'flock -n /var/lock/perf-bench.lock -c true') returned exit 1 with no output.scripts/perf-vm setupremains queued; no measurement has started. I will continue waiting for the shared lock.Cursor probe prepared in temporary clean overlays: base
1f77a449+ harness commit5d2d64a7, head4855e033+ harness commit9625471a. Each overlay changes only Playwright project selection and the new 30-second measurement spec; app source, package files and dependencies are byte-for-byte unchanged. The VM lock remains occupied; no cursor slot has run.#176 perf-VM A/B complete:
1f77a449vs2562ee88(origin/prod-perf-fix), 3 interleaved pairs on Debian 13 / 4 vCPU, Playwright 1.61.1, Chromium 149.0.7827.55. Theme p99 was 1.4–5.1 ms with zero long tasks >50 ms in all six slots (PASS). Terminal resume p99 was 981.6–1018.2 ms vs 900 ms budget on both revisions (REAL PRE-EXISTING FAILURE); sign-in-to-terminal p99 and glyph visibility passed. Setup-screen paint p99 was 1192.5–1952.4 ms vs 1000 ms across all slots (REAL PRE-EXISTING FAILURE). Sign-in-screen paint failed on base (p99 2127.7–2156.9 ms) and passed on head (p99 778.6–975.3 ms); FCP p99 was 2127.7–2156.9 ms base vs 714.0–872.4 ms head. Raw run summary and per-slot environment/results:evidence/perf-vm-browser/20261012T130928Z-1162600825-1174652/summary.mdandruns/.#182 probe first attempt invalid: all three release-prod-3w head slots exited 1 after 40.5–42.4 s with
expected cursor layer animation is missing; all three base slots passed in 39.8–41.4 s. The harness had not focused the browser tab and terminal, so the cursor layer correctly stayed stopped. I updated only the temporary probe overlays (basec0172d1f, headf53f46d8) to bring the page forward, focus the terminal, and start the blink window with input. No product source or dependency changed. Rerunning Chromium before WebKit.#182 WebKit first series produced no timing data. All six slots (both revisions, 3 pairs) exited 1 after 36.4–38.0 s; each timed out after 30 s waiting for
__tracerTestDouble.isConnected()atcursor-blink-measure.spec.ts:234. This is a matched browser-harness failure, not yet a product finding. Captured report:evidence/perf-vm-browser/20261012T141320Z-945728314-1993590/summary.md. Adding page diagnostics on the perf VM before retrying WebKit.WebKit diagnostic evidence: Playwright reports browser 26.5 and page response 200; both mock setup API requests returned 200, but the page reported no test double and a 401 on
/auth/sessionin both revisions (.../20261012T142242Z-1082004773-2139527/runs/base-1/playwright.json). The BrowserContext API setup did not produce a session visible to the WebKit page. I’m switching the test-only setup to same-origin page fetches so the browser stores its own mock cookie; no product code changes.WebKit fixture diagnosis: the original temporary WebKit project inherited Chromium's
--disable-renderer-backgroundinglaunch argument. The perf-VM stderr shows WebKit 26.5 rejecting that flag (Cannot parse arguments: Unknown option --disable-renderer-backgrounding) for all six cursor specs. I cleared launch args only for the temporary WebKit project overlay (head commitb91df0ee) and reran the existing cursor spec; it exited 1 after 184.5 s (load 0.29/0.46/0.78). Its report is queued for lock-protected retrieval atevidence/perf-vm-browser/20261012T142939Z-3430700029-2200409/. This is harness diagnosis, not timing evidence.#182 WebKit cursor blink preliminary (first interleaved pair; n=1, not final): browser version 26.5.
release-prod-3blink/steady process CPU was 0.37% / 0.27% of one core;release-prod-3wwas 4.60% / 0.27%. Both passed the 30-second probe with zero long tasks. The head showed 58 animation frames and 58 render passes during blink; steady had zero render passes. Base cursor layer was absent in this harness. Full three-pair sequence is running, so classification waits for replication. Evidence:evidence/perf-vm-browser/20261012T145852Z-800732755-2493630/(BASE 1 / HEAD 1); pre-run loads were 0.09/0.25/0.43 and 0.11/0.24/0.41.#182 harness correction: the initial cursor probe tried to make steady state by finishing
.terminal-cursor-layer, which does not exist onrelease-prod-3; its steady toggle was a no-op. Those cursor numbers are superseded. I updated only the temporary test overlay: both refs now use the sharedfreezeCursorForTest()hook for steady state, and the BASE overlay holds the 700 ms renderer-idle callback through the 30 s active window so its renderer cursor continues blinking. No product source changed. I’m running one Chromium and WebKit smoke pair before the full three-pair sequences.The corrected Chromium smoke pair reached the probe but collected no timing: both slots exited before measurement because
/proc/<pid>/commdid not match the harness's Chromium process-name allowlist (no chromium browser processes found). This is a test-harness filter failure on the VM, not a product result. I’m widening the name match and will repeat the smoke pair before collecting the three runs.#182 corrected-state smoke pair (n=1, preliminary; full three-pair runs pending). The BASE timer was held for the active window and
freezeCursorForTest()was used for both steady controls.All four runs passed with zero long tasks. WebKit's active CPU delta is small and its BASE slot ran at load 3.24/3.64/2.01 versus HEAD 1.39/3.02/1.92, so treat the one-pair values as preliminary. Evidence: Chromium
evidence/perf-vm-browser/20261012T151733Z-3306175936-2714921/; WebKitevidence/perf-vm-browser/20261012T152356Z-4077536085-2770889/. Earlier cursor numbers from the selector-only steady probe are superseded by this matched-state probe.#182 corrected Chromium result (3 interleaved pairs; browser 149.0.7827.55, Playwright 1.61.1). All six probes passed; loads ranged 0.11–0.29 / 0.62–1.49 / 1.12–1.55 (1/5/15 min); ports 4823–4828.
Classification: PASS for the cursor CPU/activity check. BASE active windows deferred the renderer's 700 ms idle callback; steady windows froze the cursor on both refs. Evidence:
evidence/perf-vm-browser/20261012T153720Z-2170831494-2867709/(slots/loads/ports and raw reports).#182 corrected WebKit result (3 interleaved pairs; WebKit 26.5, Playwright 1.61.1). All six probes passed; loads ranged 0.19–1.01 / 0.31–0.81 / 0.83–0.93 (1/5/15 min); ports 4423–4428.
Classification: PASS. Together with the Chromium result, the matched-state probe shows lower active CPU/activity and steady CPU is unchanged; no active-window long tasks were recorded. BASE deferred its 700 ms renderer-idle callback only for the active window; steady windows froze both refs. Evidence:
evidence/perf-vm-browser/20261012T154810Z-1444956166-2970883/.Batch 4 BASE 1 (
1f77a449) exited 1 after 530,916 ms at load 0.64 / 0.69 / 0.84. This is one of three baseline controls; test-level failures are not yet classified. HEAD 1 and the other four slots are still running in interleaved order. Evidence is being retrieved underevidence/perf-vm-browser/20261012T160109Z-1915616797-3103943/.Batch 4 pair 1 completed. Both refs exited 1: BASE
1f77a449530,916 ms at load 0.64/0.69/0.84; HEAD4d1b1950463,708 ms at load 0.16/0.44/0.66. This pair alone cannot classify the failures; three more BASE/HEAD pairs are pending. Evidence:evidence/perf-vm-browser/20261012T160109Z-1915616797-3103943/(slot logs will be synced when the full sequence finishes).Batch 4 BASE 2 (
1f77a449) also exited 1, after 551,953 ms at load 0.43 / 0.48 / 0.58. This confirms a repeated BASE suite failure but not which checks fail; test-level classification waits for the reports and all three HEAD controls. BASE 1/2 evidence is underevidence/perf-vm-browser/20261012T160109Z-1915616797-3103943/.Batch 4 pair 2 completed. BASE (
1f77a449) and HEAD (4d1b1950) both exited 1; BASE 2 took 551,953 ms at load 0.43/0.48/0.58, HEAD 2 took 472,650 ms at load 0.44/0.61/0.63. Failures remain unclassified until test-level reports and the final pair are available. Evidence:evidence/perf-vm-browser/20261012T160109Z-1915616797-3103943/.Batch 4 BASE 3 (
1f77a449) also exited 1 after 538,524 ms at load 1.21 / 0.73 / 0.66. All three BASE suite invocations now fail; failed test names and metrics will be classified from the raw reports after HEAD 3 completes. Evidence:evidence/perf-vm-browser/20261012T160109Z-1915616797-3103943/.Batch 4 HEAD 3 (
4d1b1950) exited 1 after 533,746 ms at load 0.92 / 0.85 / 0.74. All six suite invocations (three per ref) exited 1. Test-level failures and timing values remain pending raw report retrieval; I’ll classify them after the runner returns its artifacts. Evidence directory:evidence/perf-vm-browser/20261012T160109Z-1915616797-3103943/.Batch 4 assertion-level classification from the six VM runs (
evidence/perf-vm-browser/20261012T160109Z-1915616797-3103943/):ok(terminal.spec.ts:243). Neither assertion failed on BASE. HEAD 2 completed the interaction checks and then hit the pre-existing 978.3 ms resume budget failure.All slot durations, load averages, ports, summaries and raw Playwright JSON are in the evidence directory. No product code was changed in this remeasurement.
#176 measurement step committed as
e89cd78b. On three interleaved perf-VM pairs, theme-switch p99 was 1.4–5.1 ms with zero >50 ms long tasks; resume p99 was 981.6–1018.2 ms against 900 ms on both refs; setup paint exceeded 1000 ms on both refs; sign-in render p99 improved from 2179.2–2228.7 ms on BASE to 778.6–975.3 ms on HEAD. Full table and raw reports: docs/verification/perf-vm-remeasure.md and evidence/perf-vm-browser/20261012T130928Z-1162600825-1174652/.#182 measurement step committed as
cba7fc26. Across three pairs per engine, Chromium median active CPU was 41.03%→2.70%, TaskDuration 1952.9→73.6 ms, and ScriptDuration 520.3→7.9 ms; WebKit MiniBrowser CPU was 4.97%→4.63%, with active rAF callbacks 1859→63 and interval callbacks 56→0. Steady CPU was similar and long tasks were zero. The exact-ref comparison includes changes beyond D249. Tables and raw JSON are in docs/verification/perf-vm-remeasure.md and evidence/perf-vm-browser/20261012T153720Z-2170831494-2867709/ plus 20261012T154810Z-1444956166-2970883/.Batch 4 measurement step committed as
e8b98754. Theme p99 was 0.8–8.0 ms with zero >50 ms long tasks; all current HEAD dead-session tests passed. The sessions-canvas retry failed BASE 1/3 and HEAD 3/3 (real regression). Two terminal interaction assertions failed only on HEAD. Resume and access-screen render budgets also failed on BASE, so those remain pre-existing where measured. Full per-run tables and Playwright artifacts: docs/verification/perf-vm-remeasure.md and evidence/perf-vm-browser/20261012T160109Z-1915616797-3103943/.Finding: the required
scripts/verify fastrun on branch heade8b98754failed after the cache-targeted rerun. Static builds produced a 21,857,264-byte binary against the 16,404,816-byte budget (binary exceeds ...). The Rusttestgate returned exit code 101. I am capturing the failing test row and checking whether the gate failures are unrelated to this docs-only change; no product source was changed.Final cache-targeted
scripts/verify fastrerun one8b98754: tests pass after keeping the scratch target reachable at the path expected by the daemon fixture; no allowed #118 gate test failed. The only remaining Rust gate failure is the static release binary size. Product source is unchanged from pre-measurement HEAD113adcde(empty diff under crates/, apps/, and packages/).ts_verify_fastwas not reached because the Rust gate returned nonzero.Gate output (verbatim):
Finished the remeasurement; report and raw run evidence are in
docs/verification/perf-vm-remeasure.mdand the linked evidence directories. The three commits aree89cd78b,cba7fc26, ande8b98754. Heade8b98754is pushed toorigin/perf-remeasure. The finalscripts/verify fastrun passed tests, formatting, Clippy, and cargo-deny; it failed only the static binary size budget. Rust returned nonzero beforets_verify_fastran. The worktree contains no product-source changes.Final gate output (verbatim):
kayg referenced this issue2026-10-28 17:53:56 +00:00