Closed
kayg
wants to merge 0 commits from
perf/bundle-room-3 into dev
pull from: perf/bundle-room-3
merge into: kayg:dev
kayg:main
kayg:port/tasks-float-2
kayg:fix/train-1116-2
kayg:fix/train-1116-3
kayg:fix/train-1116-1
kayg:fix/flake-1134
kayg:fix/server-1182
kayg:dev
kayg:port/notes-float-3c
kayg:docs/auto-update-ig
kayg:feat/dav-transport
kayg:port/tasks-float-1
kayg:wip/mail1011-sv-order-1116
kayg:fix/flake-1179
kayg:fix/flake-1178
kayg:fix/guards-1153-fsio-split
kayg:fix/guards-1153-notes-split-we
kayg:fix/guards-1153-notes-lib
kayg:fix/guards-1153-notes-home
kayg:fix/guards-1153-ui-primitives
kayg:fix/guards-1153-primitives-e2e
kayg:fix/guards-1153-visibility-doc
kayg:feat/paper-grey-1116
kayg:fix/flake-1165
kayg:fix/flake-1119
kayg:docs/imap-766-plan-v2
kayg:fix/e2e-unique-ports
kayg:t3/paged-search-reconcile-final
kayg:wip/mail1011-final-1115
kayg:docs/tasks-float-port
kayg:perf/editor-first-paint-1c
kayg:feat/imap-notes-fetch
kayg:feat/imap-notes-projection
kayg:feat/imap-notes-readonly
kayg:feat/imap-notes-auth
kayg:feat/imap-notes-server-foundation
kayg:wip/mail1011-txn-ownvocab-1115
kayg:wip/mail1011-txn-novocab-1115
kayg:perf/p1117-final-harness
kayg:perf/single-shot-repeats
kayg:port/tasks-matrix
kayg:wip/mail1011-txn-1115
kayg:fix/static-gates-1155
kayg:feat/files-s1-identity-r7
kayg:fix/files-r7-idle-loop
kayg:fix/daily-train-1152
kayg:port/notes-float
kayg:fix/editor-tables-test-types
kayg:port/notes-float-listscript
kayg:feat/tasks-actions
kayg:port/notes-float-phone-preload
kayg:perf/sound-comparator
kayg:port/notes-float-listscroll
kayg:port/notes-float-budgets
kayg:port/notes-float-suite-fix-b
kayg:port/notes-float-sidebar-fix
kayg:port/notes-float-trim
kayg:port/notes-float-3-lists
kayg:fix/attachments-meta-capability
kayg:docs/carddav-writes-v2-plan
kayg:feat/contacts-companion-pure
kayg:issue/carddav-read-perf-fix-r2
kayg:issue/carddav-read-r2
kayg:port/notes-float-devsync2
kayg:review/calendar-2
kayg:review/switcher-a-pills
kayg:port/notes-float-switcher-a
kayg:port/port-tables-2
kayg:review/switcher-ends
kayg:wip/whiteboard-s1-1114
kayg:port/port-tables
kayg:wip/mail1011-perfneutral
kayg:review/photo-tint
kayg:port/notes-float-shell
kayg:wip/local/collections-db
kayg:wip/local/mail-p1
kayg:wip/local/cold-growth-on-tiering
kayg:wip/local/tiering-v3-s1
kayg:wip/local/wal1051-cap
kayg:wip/local/tiering-v3-s1-resume
kayg:wip/local/index-position-startup-scan
kayg:port/notes-float-flat
kayg:port/notes-float-promote
kayg:wip/handover/mail1011-candidate
kayg:wip/handover/files-s1-candidate
kayg:port/notes-float-shell-only
kayg:port/notes-float-perf
kayg:feat/whiteboard-s1
kayg:feat/tiering-v5
kayg:fix/app-switch-hitch
kayg:wip/local/files-s1-dev-v4-final
kayg:feat/files-s1-dev-v4
kayg:fix/c2-glass-shared
kayg:feat/flat-lists
kayg:wip/handover/whiteboard-s1-resume
kayg:wip/att-lazy-861
kayg:feat/switcher-browse
kayg:wip/att-lazy-860
kayg:feat/tasks-float
kayg:recovered/flat-backup-candidate
kayg:perf/stalls-1054-kc
kayg:land/ai-toolbar
kayg:feat/collections-db
kayg:feat/collections-db-fixes
kayg:codex/mail-1011-redesign-20261111
kayg:fix/ai-toolbar
kayg:backup/macos-vm/st3-head
kayg:perf/trim-candidate-phonestack
kayg:feat/switcher-three
kayg:fix/1051-index-idle-checkpoint
kayg:perf/stalls-1054-kb
kayg:perf/stalls-1054-k
kayg:perf/stalls-1054-r3
kayg:fix/c2-contrast-tail
kayg:perf/stalls-1054-r3-preview
kayg:feat/collections-before
kayg:feat/tiering-v4
kayg:fix/timelog-caret
kayg:wip/local/tasks-actions
kayg:docs/tasks-writes-v2-plan
kayg:st3-r3
kayg:feat/pass8
kayg:review/calendar-2-before-1111
kayg:wip/tiering-v3-cold4
kayg:perf/stalls-1054-r2
kayg:fix/suite-A4
kayg:fix/suite-A5-probe
kayg:fix/suite-A6
kayg:fix/suite-A3
kayg:fix/suite-A2
kayg:fix/suite-A5
kayg:fix/suite-A1
kayg:wip/local/attachments-861-fix
kayg:feat/contrast
kayg:wip/local/ports-861
kayg:storage/wal-checkpoint-off-save-1051
kayg:wip/local/mail-1011-reconcile-20261110
kayg:feat/style-sheet-fixes
kayg:feat/money-round
kayg:perf/stalls-1054
kayg:wip/tiering-v3-cold5
kayg:t3/mail-1011-liveness
kayg:feat/iphone-fixes
kayg:feat/notes-approve
kayg:wip/local/shrow-work
kayg:feat/files-s1-identity
kayg:feat/quickfix
kayg:wip/tiering-v3-cold
kayg:wip/local/shared-row-swipes
kayg:backup/macos-vm/pfx-B
kayg:backup/macos-vm/pfx-C
kayg:backup/macos-vm/pfx-D
kayg:feat/contrast-r1
kayg:feat/tiering-v3-s2-tags
kayg:feat/folder-drop
kayg:t3/photos-s1
kayg:feat/tiering-v3-s1-namespace
kayg:wip/local/photos-s1
kayg:t3/photos-plan-slice-one
kayg:recovered/backup/p1b-61505
kayg:t3/paged-search-reconcile
kayg:t3/smooth-pane-transitions
kayg:t3/index-position-startup-scan
kayg:fix/private-staging-759b-r2
kayg:backup/macos-vm/hk/hk1009/pr877
kayg:backup/macos-vm/hk/hk1009/pr878
kayg:docs/undo-block-ids-plan
kayg:fix/undo-768
kayg:backup/macos-vm/hk/hk1009/pr875
kayg:backup/macos-vm/hk/hk1009/pr904
kayg:proto/block-identity-v7d
kayg:backup/macos-vm/hk/hk1009/pr846
kayg:backup/macos-vm/hk/hk1009/pr860
kayg:backup/macos-vm/hk/hk1009/pr861
kayg:backup/macos-vm/hk/hk1009/pr849
kayg:backup/macos-vm/hk/hk1009/pr848
kayg:backup/macos-vm/hk/hk1009/pr853
kayg:backup/macos-vm/hk/hk1009/pr957
kayg:backup/macos-vm/hk/hk1009/pr893
kayg:backup/macos-vm/hk/hk1009/pr889
kayg:backup/macos-vm/hk/hk1009/pr902
kayg:docs/imap-notes-plan
kayg:docs/quota-plan-2
kayg:fix/parallel-test-flakes
kayg:docs/calendar-backend-v2-plan
kayg:feat/calendar-ical-converter
kayg:backup/macos-vm/hk/hk1009/pr808
kayg:docs/contacts-import-v2-plan
kayg:issue/610-pm-midnight
kayg:feat/calendar-v2-s1-containment
kayg:backup/macos-vm/hk/hk1009/pr854
kayg:backup/macos-vm/hk/hk1009/pr845
kayg:backup/macos-vm/hk/hk1009/pr917
kayg:docs/dav-recorder-v2-plan
kayg:plan/previews-865
kayg:plan/save-log-durable-entry
kayg:backup/macos-vm/hk/hk1009/pr934
kayg:fix/e2e-data-on-ram
kayg:backup/macos-vm/hk/hk1009/pr888
kayg:feat/appwindow3
kayg:feat/appwindow2
kayg:feat/appwindow
kayg:feat/money-p1
kayg:feat/keys-sheet
kayg:review/calendar-2-themes
kayg:feat/smooth-cursor
kayg:fix/float-style
kayg:review/calendar-2-float
kayg:release/2026-11-06-hotfix
kayg:archive/port/rows-drop-code
kayg:archive/port/rows-actions
kayg:archive/port/rows
kayg:scratch/tasks-894-ui-gates
kayg:review/calendar-2-night-wip
kayg:recovered/flaky/toast-reduced
kayg:release/2026-11-05
kayg:archive/flaky/rows-drop-fixed
kayg:archive/flaky/rows-actions
kayg:archive/flaky/rows
kayg:sim/bm15-final
kayg:sim/bm15-bis-932
kayg:sim/bm15-bis-909
kayg:sim/bm15
kayg:sim/bm15-bis-887
kayg:perf/tiering-option-b
kayg:fix/sw-lazy-precache
kayg:archive/plan/save-log-durable-entry
kayg:mock/money-fix2
kayg:archive/fix/e2e-data-on-ram
kayg:mock/appearance-all
kayg:mock/pill-press
kayg:mock/pill-press-mac
kayg:backup/macos-vm/appearance-after
kayg:mock/auto-swipes
kayg:mock/mail-actions
kayg:backup/macos-vm/mock/mail-actions
kayg:mock/money-static
kayg:archive/review/standards-917
kayg:perf/tiering-761-fix
kayg:mock/type-audit
kayg:mock/third-pane
kayg:feat/contacts-import-v2-s1
kayg:perf/executor-hot-path
kayg:archive/port/hidden-blocks
kayg:archive/port/devices
kayg:scratch/executor-on-894
kayg:scratch/executor-spans2
kayg:scratch/executor-spans
kayg:archive/port/rows-drop
kayg:feat/tiering-761-d-scale
kayg:feat/tiering-761-c-index
kayg:feat/tiering-761-b-reader
kayg:archive/review/sharing-pr3-review-9fec3d1f
kayg:perf/ports-lazy-budgets
kayg:feat/tiering-761-a-migration
kayg:archive/review/sharing-pr3-review
kayg:archive/review/sharing-pr3-review-code
kayg:archive/plan/previews-865
kayg:archive/port/port-attachments-3
kayg:archive/port/contacts-merge
kayg:fix/motion-audit-859
kayg:fix/motion-audit-859-mac
kayg:archive/port/port-pickers
kayg:archive/port/port-tables-2
kayg:archive/port/port-tables
kayg:recovered/local/sharing-s1-pr2-room-snapshot-candidate
kayg:archive/fix/parallel-test-flakes-code-minipc01
kayg:docs/imap-766-readonly-slice
kayg:feat/dav-recorder-v3
kayg:research/788-diagnosis
kayg:archive/fix/parallel-test-flakes
kayg:archive/perf/pr792-cold-index-edit
kayg:docs/sharing-slice-1
kayg:recovered/feat/dav-recorder-v2
kayg:recovered/feat/dav-recorder-v2-edd7bbb
kayg:spike/imap-766-s0-cases
kayg:archive/fix/undo-768
kayg:recovered/feat/dav-recorder
kayg:recovered/feat/dav-recorder-901acd4
kayg:feat/contacts-import
kayg:perf/cold-growth-on-764
kayg:perf/cold-growth-on-tiering
kayg:recovered/feat/tasks-set-status
kayg:feat/tasks-move-reorder
kayg:feat/tasks-delete-promote-duplicate
kayg:feat/carddav-writes
kayg:perf/quota-on-tiering
kayg:perf/quota-simple
kayg:perf/cold-growth-on-quota-stack
kayg:recovered/perf/cold-growth-on-tiering
kayg:feat/calendar-identity
kayg:feat/calendar-event-parser
kayg:feat/calendar-props-maps
kayg:port/glass-when-ring
kayg:recovered/feat/tiering-761-s1-wip-8132a84
kayg:recovered/feat/tiering-761-s1-wip-9da4094
kayg:recovered/feat/tiering-761-s1-wip-724512c
kayg:recovered/feat/tiering-761-s1-wip-66e667e
kayg:recovered/feat/tiering-761-s1
kayg:wip/6by32-01-tier-761-s1-pause-20261030
kayg:spike/imap-766-s0
kayg:wip/6by32-02-calternal-pause-20261030
kayg:wip/8by64-01-review-688-pause-20261030
kayg:wip/6by32-01-verify-744-pause-20261030
kayg:wip/6by32-01-verify-742-pause-20261030
kayg:fix/private-staging-759b
kayg:wip/6by32-01-review-748-pause-20261030
kayg:wip/6by32-01-review-733c-pause-20261030
kayg:wip/6by32-01-review-733b-pause-20261030
kayg:review/calendar-month
kayg:wip/local/bm15-trash
kayg:plan/759b-staging
kayg:review/767b-tests
kayg:review/preview-2026-10-29
kayg:docs/tiering-731-plan
kayg:wip/c6b02-review-733d
kayg:wip/c6b02-bm1-full-a
kayg:docs/deploy-plan
kayg:fix/storage-owner-liveness-642
kayg:fix/storage-fix-7
kayg:feat/tiering-731
kayg:wip/tiering-731-first-attempt
kayg:perf/idle-honest-2
kayg:fix/storage-private-tmp-642-dev
kayg:fix/storage-exact-file-quarantine-642
kayg:perf/one-flush-save
kayg:review/calendar-static
kayg:review/indexing-ring
kayg:review/when-field-2
kayg:proto/block-identity-2-review
kayg:proto/block-identity-review
kayg:review/when-field
kayg:issue/tasks-create-ids
kayg:issue/tasks-create
kayg:review/combined
kayg:review/task-polish
kayg:review/top-buttons
kayg:review/q1-q5
kayg:archive/integ325-293
kayg:archive/integ325-ci
kayg:issue/calendar-adr
kayg:archive/old/train/2026-10-23bk2
kayg:archive/old/train/2026-10-23bk
kayg:issue/469-mockup-9a
kayg:issue/smart-tasks-mockup
kayg:issue/469-menus
kayg:issue/652-signout-flake
kayg:issue/652-history-fix7
kayg:issue/652-history-fix6
kayg:archive/old/issue/spring-check-perf
kayg:issue/spring-check-perf
kayg:issue/659-rename-fast
kayg:archive/old/train/2026-10-21ar
kayg:issue/search-hardening-3
kayg:issue/652-history-fix5
kayg:issue/660-port-sheets-glass
kayg:issue/652-history-fix4
kayg:issue/652-history-fix3
kayg:issue/652-history-fix2
kayg:issue/652-history-flake
kayg:train/2026-10-21an
kayg:issue/settings-admin-port
kayg:issue/search-port
kayg:train/2026-10-20am
kayg:issue/storage-split-fix2
kayg:issue/storage-split
kayg:archive/old/issue/folder-ids-fix
kayg:train/2026-10-20al
kayg:archive/old/issue/folder-ids
kayg:train/2026-10-20ak
kayg:issue/tables-mockup
kayg:train/2026-10-19aj
kayg:train/2026-10-19ai
kayg:issue/469-merge-fixes
kayg:issue/sidebar-band
kayg:archive/old/issue/608-settings-spec
kayg:train/2026-10-19ah
kayg:issue/swipe-offscreen
kayg:train/2026-10-19ag
kayg:archive/old/issue/590-nlp-adr
kayg:archive/old/issue/587-event-after-write-2
kayg:train/2026-10-19af
kayg:archive/old/issue/587-event-after-write
kayg:issue/469-pill-room-c
kayg:issue/469-pill-room
kayg:train/2026-10-19ae
kayg:issue/469-narrow-handle
kayg:issue/397-ios-swipe-2
kayg:issue/469-desk-fixes
kayg:archive/old/issue/auto-update-adr
kayg:issue/469-filter-gap
kayg:issue/469-port-1b
kayg:issue/442-opacity-flake
kayg:issue/327-web-fast-3
kayg:archive/old/issue/469-port-1
kayg:issue/469-port-1
kayg:issue/327-web-fast-2
kayg:archive/old/issue/327-web-fast
kayg:archive/old/issue/425-stt-bench-vq1
kayg:archive/old/issue/445-no-bleed
kayg:archive/old/issue/400-swipe-mockup-2
kayg:issue/426-client-review
kayg:issue/426-client-2
kayg:issue/426-client
kayg:archive/old/issue/476-safe-area-lab
kayg:archive/old/issue/445-top-light
kayg:issue/471-blocks-mockup
kayg:archive/old/issue/448-links-app-2
kayg:archive/old/issue/448-links-app
kayg:archive/old/issue/398-cold-links
kayg:issue/434-442-small-2
kayg:issue/434-442-small
kayg:archive/old/issue/398-unload
kayg:archive/old/issue/445-bottom-band
kayg:issue/445-bottom-band
kayg:issue/351-rem-3
kayg:issue/351-rem-2
kayg:issue/351-rem
kayg:archive/old/issue/327-first-note
kayg:issue/395-width-phone
kayg:archive/old/issue/327-typing
kayg:issue/396-ios-edges
kayg:issue/397-ios-swipe
kayg:archive/old/issue/327-notes-index
kayg:issue/345-347-contrast-empty-2
kayg:archive/old/issue/44-arenas
kayg:issue/44-arenas
kayg:archive/integ325
kayg:archive/old/issue/327-perf-harness
kayg:archive/old/issue/44-thp
kayg:issue/44-thp
kayg:archive/old/issue/285-sticky-pills
kayg:archive/old/issue/44-trim-3
kayg:issue/44-trim-3
kayg:archive/old/issue/165-cards
kayg:archive/old/issue/165-picker-2
kayg:archive/old/issue/212-multi-select
No reviewers
Labels
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/calternal!726
Loading…
Reference in a new issue
No description provided.
Delete branch "perf/bundle-room-3"
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?
Notifications stay in the first-load bundle so an action's toast can render immediately. Retain the bundle savings from pure annotations for unused editor DOM schema builders and compression of initial modules and idle screens. Insert and Info warm at idle when the editor mounts and reuse resolved components for synchronous warm opens. All bundle budgets are unchanged.
Refs #689. Supersedes #724 and its rebased follow-up #725. Branch perf/bundle-room-3 from
150ec3758d, dev lineage5ffd5dd7. Head49207e1c77.The production build is 292.66 KB total JS, 237.40 KB first-load JS and 20.68 KB first-load CSS (brotli), under the unchanged 300 KB, 240 KB and 22.1 KB limits.
Validation:
Work in progress: required first-use timing acceptance is blocked by perf-host SSH access. Seven-repetition medians, p90, slow-frame counts and the base-vs-base noise gate are unverified. No performance run was substituted onto the shared compute host. The portable copy of the previous harness alternates base/base2/head for seven repetitions and runs under /usr/local/bin/perf-lock.sh on 10by32-01-std; exact SHAs and setup are attached to #689.
Verbatim gate output, CI result, evidence and perf handoff. No merge or deploy.
Re-running CI: run 517 web stopped mid-matrix at 17:37Z when the CI host (8by64-compute01) rebooted; the one link-suggest failure is in an unchanged spec and passed 3/3 locally. First-use timing goes to a dedicated quiet host next.
Timing acceptance FAILED for PR #726. All 672 Playwright cases passed, but 11 of the 32 cold/warm median comparisons failed the requested timing gate. Both bundle gates passed. Desktop cold toast failed the explicit no-slowdown rule (25.80 ms base, 29.30 ms head). The other failed cells and their measured noise bands appear below. No code changes, commits, pushes, merge, or deploy were made. Stopping at the failed acceptance, as requested.
Branch: perf/bundle-room-3, measured in a detached checkout. Base SHA:
5ffd5dd79f(PR merge base with origin/dev). Head SHA:325cb34e34; product-code head:49207e1c77.Measurements ran on 10by32-01-std under one exclusive perf-lock.sh acquisition after codex-cold-growth-fix3 was observed inactive. The wrapper held all three build slots throughout. Prepared production builds were reused. Chromium, 4x CPU, 390x844 and 1440x900, one worker, seven alternating base/base2/head and head/base2/base repetitions per cell. Base2 serves the identical base build. Independent post-run validation confirmed 672 samples, 96 cells, and repetitions 1 through 7 in every cell. The observed noise band across cells ranged from 0.10 to 26.80 ms. This is the specified acceptance rule, not a statistical-significance claim.
Raw measurements, harness, metadata, bundle results, and gate logs. Evidence is attached to this issue and is not committed to the repository.
Latency in ms; p90 is nearest rank (with seven samples this is the maximum). Each fresh browser context uses Chromium at 4x CPU with HTTP cache disabled. Cold disables idle callbacks. Warm waits for idle screen loading and Settings mounting. Slow frames are rAF intervals >16.7 ms from the action through three quiet visible frames; counts are median / p90 / total across seven runs. Base2 is an independent run of the identical base build. The order alternates base/base2/head and head/base2/base per repetition.
At 390, Notification measures the fallback toast after block deletion and navigation to the list. At 1440 it measures the note-bar toast after block deletion. ListSearch at 1440 measures the actual desktop inline filter (first f key to filtered results); the lazy ListSearch panel only has a phone entry point. Warm means first opening after idle warming, not a second opening in the same document.
Gate uses unrounded medians: head minus base must be no greater than abs(base2 minus base), except Notification cold must be no greater than zero.
FAIL: 11 of 32 cold/warm comparisons failed; 672 measurements; 7 repetitions per cell.
390 ListSearch cold: base=26.200000 ms, base2=23.400000 ms, head=30.800000 ms, delta=4.600000 ms > allowance=2.800000 ms
390 ListSearch warm: base=31.100000 ms, base2=31.700000 ms, head=33.600000 ms, delta=2.500000 ms > allowance=0.600000 ms
390 Notification warm: base=100.400000 ms, base2=99.600000 ms, head=107.700000 ms, delta=7.300000 ms > allowance=0.800000 ms
390 Settings warm: base=55.100000 ms, base2=55.800000 ms, head=60.300000 ms, delta=5.200000 ms > allowance=0.700000 ms
1440 InfoSheet cold: base=115.000000 ms, base2=113.500000 ms, head=118.100000 ms, delta=3.100000 ms > allowance=1.500000 ms
1440 InsertSheet cold: base=110.700000 ms, base2=112.000000 ms, head=116.300000 ms, delta=5.600000 ms > allowance=1.300000 ms
1440 InsertSheet warm: base=166.900000 ms, base2=149.300000 ms, head=187.800000 ms, delta=20.900000 ms > allowance=17.600000 ms
1440 Inspector warm: base=173.400000 ms, base2=172.400000 ms, head=189.200000 ms, delta=15.800000 ms > allowance=1.000000 ms
1440 ListSearch cold: base=12.300000 ms, base2=12.800000 ms, head=15.300000 ms, delta=3.000000 ms > allowance=0.500000 ms
1440 NotePicker warm: base=131.900000 ms, base2=151.700000 ms, head=184.400000 ms, delta=52.500000 ms > allowance=19.800000 ms
1440 Notification cold: base=25.800000 ms, base2=25.900000 ms, head=29.300000 ms, delta=3.500000 ms > allowance=0.000000 ms
Verbatim gate output:
Verbatim command status:
Starting #689 follow-up to PR #726 on branch
perf/bundle-room-4, based on325cb34e343327f653a4a11b840239cae1f3e0be. The old branch is already checked out in the supplied job folder;/home/agent/wt/bundle-room-3does not exist, so work continues here. A new branch and PR will preserve the forge rule against updating an open PR branch. Timing will reuse the same harness and base5ffd5dd79feabdca1b5dad7e4514e028ad56b554, on 10by32-01-std under the perf lock. No merge or deploy.Finding:
warmLazy()fetched Settings, Palette, ListSearch, Inspector and NotePicker, but all five were still rendered through await blocks. That inserts an asynchronous component-resolution step even after warming. Only InsertSheet and InfoSheet retained resolved components, and they warmed in a separate Editor mount callback without an idle deadline. The fix gives all seven screens the existing retained-component interface, warms every split UI surface in one app idle pass after paint with a 1000 ms idle deadline and a timer fallback, and starts warming on control hover, pointer down and focus intent. The toast and notification components remain eagerly imported. New browser coverage checks all split UI chunks and screen CSS finish before opening, for idle, timer fallback and each intent event on phone and desktop.Head
acb6d15a71ca1a56731992212dafa4a377b84b07is ready for timing. Typechecks pass (web: 0 errors, 14 existing warnings), lint passes, editor unit tests 299/299 and UI unit tests 38/38 pass. Bundle gate passes unchanged: 237.23 KB first-load JS and 292.51 KB total JS. Targeted Chromium/WebKit tests at 390 and 1440: 100 applicable cases pass, 4 intentional skips. The broad run passed 94 cases; the six cases affected by test assumptions passed after correcting the no-idle browser simulation and allowing intent preloading on Undo. The first-update test verifies Insert, Inspector, Info and NotePicker are populated in their first DOM update.Starting the same 672-sample timing matrix on 10by32-01-std with base
5ffd5dd79feabdca1b5dad7e4514e028ad56b554, seven alternating base/base2/head reps, 4x CPU, cache disabled, both widths and cold/warm. Preparation is finished and the exclusive perf lock will hold all build slots. The unchanged harness retains its stricter zero allowance for cold toast; the requested noise-based gate will also be reported. No merge or deploy.The 336 phone measurements are complete; desktop is still running. No functional cases have failed. Four phone cells exceed their measured base-vs-base noise in this run:
Phone cold/warm ListSearch improved by 3.2/9.0 ms; cold/warm Notification improved by 8.3/6.1 ms. These are complete seven-repetition cells, not an overall timing acceptance claim. Raw evidence is in
/tmp/bundle-room-4/run/measurements.jsonland will be attached with the final report. The new first-DOM-update test passes for Inspector, so retaining the resolved component alone has not removed its visible-paint regression. The complete matrix will finish before any follow-up change or profiling.The first complete follow-up matrix at
acb6d15a71ca1a56731992212dafa4a377b84b07has finished: all 672 functional cases passed, but the unchanged timing gate failed 8 of 32 cells. The requested noise-based rule fails the same eight cells (desktop cold toast delta 5.5 ms exceeds its 3.6 ms noise as well as the harness's stricter zero allowance). Bundle budgets still pass. This is not timing acceptance. A short separate trace of Inspector and NotePicker is next; no product code changed during measurement. Full evidence will be attached with the final report.Medians in ms. Prior run is PR #726 at
325cb34e; follow-up usesacb6d15a. Both runs compare against the same base SHA and use independent base2 samples to measure each cell's noise.Requested noise-based gate: 8 of 32 cells failed. The unchanged harness also reports its stricter zero allowance on cold notifications below.
Verbatim gate output:
The separate 24-case diagnostic trace passed. It reproduces the warm opening delay without showing a large layout-total increase: first Inspector warm pair was 92.64 ms base versus 117.57 ms head, with layout totals 8.91 versus 9.44 ms before visibility. The new sheet layer was constructed at 4.1 ms in base versus 18.7 ms in head. Morph then adds its full 55 ms handoff delay after constructing the content. Retaining a component makes its construction happen in that first flush, so this can add construction time to the intended handoff budget. This is an inference from the trace and code, not a new acceptance result.
I will make the sheet intro spend the remaining handoff delay from the mode change, keeping the fade duration and component rendering unchanged. I will also keep Palette in its own on-demand chunk: a keyboard opening before idle should not have to fetch and parse the whole seven-screen chunk. The first matrix's phone cold Palette delta was +1.2 ms against 0.6 ms noise; its warm path improved by 25.1 ms. Both changes will get fresh bundle/functional checks and a new complete timing matrix. Toast and notification code remain eager.
Final head
c55a5dae55dce90cc9bfe87043f25ffb0a8b4aedis ready for a second full timing matrix. The sheet handoff includes component construction inside the existing delay budget; Palette is a separate 1.82 KB on-demand chunk that imports only the first-load index. Primary screens start preloading before auxiliary chunks. All budgets are unchanged; final build is 237.29 KB first-load JS and 293.52 KB total JS. Both typechecks, lint and 337 unit tests pass. Targeted Chromium/WebKit at 390/1440: 138 passes with 10 intentional skips, then 28 final preload and recovery checks pass, including four new Palette stylesheet recovery cases (142 distinct applicable cases total). No functional failures remain.Starting the same unmodified 672-sample timing matrix with seven alternating base/base2/head reps, 4x CPU, cache disabled, both widths and cold/warm, under the exclusive perf lock on 10by32-01-std. The base remains
5ffd5dd79feabdca1b5dad7e4514e028ad56b554. The first failed matrix and diagnostic traces will be attached alongside the final results. No merge or deploy.The second matrix has completed phone Palette and Inspector. The changes address the measured warm Inspector delay: its median is now 79.8 ms head versus 99.9 ms base, a 20.1 ms improvement with 5.0 ms measured base-vs-base noise. The first follow-up had regressed by 20.9 ms. Phone Inspector cold is +4.7 ms within 6.3 ms noise. Palette cold is -2.1 ms within 13.0 ms noise; Palette warm is -26.3 ms within 12.8 ms noise. All four completed cells pass the requested rule. This is partial evidence, not overall acceptance; the unchanged matrix continues to all 672 measurements at head
c55a5dae55dce90cc9bfe87043f25ffb0a8b4aed.All 336 phone cases at
c55a5dae55dce90cc9bfe87043f25ffb0a8b4aedare complete. All 16 phone cold/warm cells pass the requested noise-based gate; phone cold toast also passes the unchanged harness's stricter zero-delta rule. Desktop is running, so overall acceptance is still pending.The second matrix's completed desktop Inspector warm cell still fails: base 139.2 ms, base2 148.2 ms, head 155.5 ms. Delta +16.3 ms exceeds 9.0 ms noise. All 16 phone cells pass, and the other completed desktop cells pass so far. The matrix continues to completion at unchanged head
c55a5dae55dce90cc9bfe87043f25ffb0a8b4aed; no overall acceptance is claimed.The second matrix at
c55a5dae55dce90cc9bfe87043f25ffb0a8b4aedfinished: all 672 functional cases passed. The requested noise-based rule fails two cells: desktop Inspector warm (+16.3 ms versus 9.0 ms noise) and desktop InfoSheet warm (+30.8 ms versus 18.2 ms noise). Desktop cold toast is +2.1 ms within 6.8 ms noise; it passes the requested rule but fails the old harness's stricter zero allowance. All other requested cells pass, including all phone cells and desktop NotePicker warm (-37.8 ms).The handoff budget accounting has not eliminated the desktop delay. The existing Morph overview describes an immediate crossfade and says an entry delay leaves an empty capsule, but the sheet branch still waits before starting the fade. I will remove this sheet-entry wait and retain the fade duration, keyboard behavior and eager notification path. This makes ready content visible immediately instead of adding a handoff wait after construction. The choice will get targeted functional checks and a third full unchanged timing matrix; this is not acceptance yet.
Verbatim second timing gate:
Head
09715bdbfb91dfba14717c70809445c96fa8ccebis ready for the third full timing matrix. Sheets now crossfade immediately once constructed, matching Morph's existing overview. Fade duration, keyboard behavior and the eager notification path are unchanged. All resolved components remain cached and every split UI surface preloads after paint or on intent. Palette remains a separate small on-demand chunk.Validation at this exact product code: both typechecks pass (web 0 errors, 14 existing warnings), lint passes, all 337 unit tests pass, all 142 targeted Chromium/WebKit cases pass at 390/1440 with 10 intentional skips. Unchanged bundle budgets pass: 237.31 KB first-load JS, 293.49 KB total JS.
Starting the same unmodified 672-measurement matrix under the exclusive perf lock on 10by32-01-std, with 4x CPU, seven alternating base/base2/head reps, cache disabled, both widths and cold/warm. Base remains
5ffd5dd79feabdca1b5dad7e4514e028ad56b554. Previous complete failed matrices and the diagnostic trace will remain attached in the final evidence. No merge or deploy.The third matrix's completed phone Inspector cells improve substantially and pass: cold 35.0 ms head versus 96.8 ms base (-61.8 ms, noise 4.2 ms); warm 34.6 ms head versus 92.5 ms base (-57.9 ms, noise 2.0 ms). Two other completed phone cells currently fail: ListSearch cold +1.6 ms versus 1.3 ms noise, and Settings warm +12.2 ms versus 2.0 ms noise. These are complete seven-repetition cells at unchanged head
09715bdbfb91dfba14717c70809445c96fa8cceb. The rest of the matrix is still running. No overall acceptance is claimed, and all three matrices will be attached.Source review found another on-demand surface that is not guaranteed ready with the screen:
Settings.sveltelines 181–188 constructs its bar in a second requestIdleCallback without a timeout (or a 200 ms timer fallback). The markup at line 370 builds it immediately on activation if that idle callback has not run. The timing harness waits for Settings headings and two frames, not this second idle callback, so a warm Settings activation can still construct its bar. This is a missing preparation guarantee; attributing the entire +12.2 ms result to it would require further evidence.After the current complete matrix finishes, I will schedule the hidden Settings bar in the following frame instead of waiting for a second idle opportunity, preserving the split from initial screen construction. I will also keep ListSearch in its own small on-demand chunk as Palette already is, so a cold phone search does not need the larger screen bundle. Current phone cold ListSearch is +1.6 ms against 1.3 ms noise. The final candidate will get full functional checks and another unchanged timing matrix. No acceptance is claimed yet; all earlier matrices remain in the evidence.
Completed desktop Inspector cells at
09715bdbfb91dfba14717c70809445c96fa8ccebpass with large improvements: cold 34.4 ms head versus 119.9 ms base (-85.5 ms, noise 2.0 ms), warm 68.7 ms head versus 150.9 ms base (-82.2 ms, noise 15.4 ms). All first-DOM-update, first-frame styling and geometry tests passed at this product code, so this is not an empty or unstyled panel satisfying the timing selector. The third complete matrix continues. The separately identified Settings bar preparation and ListSearch chunk issues will be addressed after this run; overall acceptance remains pending.Third matrix at
09715bdbfb91dfba14717c70809445c96fa8cceb: all 672 functional cases passed. Only phone ListSearch cold and Settings warm fail the timing gate. All other cells pass, including all sheets on both widths and cold toast on both widths. The documented ListSearch chunk and nested Settings bar preparation changes are next; no further sheet animation change is planned.Verbatim third timing gate:
Head
40a88c29644196fe36e70c883e4fabc5a299ea11is ready for the fourth full timing matrix. Settings prepares its hidden bar on the following frame, without waiting for a second idle callback; tests verify this before first activation. ListSearch is a separate 3.00 KB on-demand chunk importing only the first-load index, alongside the separate Palette chunk. All screen components remain retained, all split UI preloads after paint or on intent, and ready sheets crossfade immediately. Notifications stay eager.All 146 targeted Chromium/WebKit cases pass at 390/1440 (10 intentional skips), including idle/timer/intent loading, first-update content, bar readiness, all stylesheet recovery cases, geometry, Info and Undo. Both typechecks, lint and 337 unit tests pass. The clean committed head has been rebuilt and passes unchanged budgets: 237.29 KB first-load JS and 294.30 KB total JS.
Starting the same unchanged 672-sample harness under the exclusive perf lock on 10by32-01-std, with 4x CPU, seven alternating base/base2/head reps, cache disabled, both widths and cold/warm. Base remains
5ffd5dd79feabdca1b5dad7e4514e028ad56b554. All prior failed matrices will be retained with the final evidence. No merge or deploy.Completed phone Settings cells in the fourth matrix pass: cold 40.0 ms versus 57.8 ms base (-17.8 ms, noise 0.2 ms); warm 48.9 ms versus 49.3 ms base (-0.4 ms, noise 3.0 ms). The hidden-bar readiness checks also pass on both widths in both browsers.
Phone ListSearch cold still fails: 31.0 ms versus 24.5 ms base (+6.5 ms, noise 1.1 ms). Splitting its chunk alone did not solve the contention: this head's cold Search interaction grows from 2 to 12 script resources because the generic intent handler starts the whole UI preload batch. Base uses its one panel chunk. After this matrix finishes, I will let a control target its own preload through a small documented interface and use it for Search. Idle will still preload every surface. An isolated-intent test will verify that preparing Search does not fetch unrelated UI chunks. The complete fourth matrix is still running; no acceptance is claimed.
Fourth matrix at
40a88c29644196fe36e70c883e4fabc5a299ea11: all 672 functional cases passed, four timing cells failed. The Settings bar readiness guarantee is now fixed and its phone warm cell passes. The intent handler still starts all UI imports for one control, with 2 to 12 scripts during cold Search. I will give controls a documented target for their own preload and use it for Search and Settings. Before changing any eager notification code, a short separate notification trace will check pending requests and layout costs. All complete measurements remain retained.Verbatim fourth timing gate:
The separate 12-case desktop notification trace passed functionally. Every case had no pending script/style requests before the action or after measurement, and no new script resources during the action. Both variants performed two layouts before first visibility. Diagnostic cold medians were 28.3 ms base and 28.1 ms head; warm medians were 26.7 and 28.8 ms. These three-repetition instrumented diagnostics are not acceptance results. They do not identify on-demand loading on the notification path, so that eager code remains unchanged. The complete seven-repetition matrices and their failures remain reported.
The next change targets the observed intent contention: controls can name their own preload resources; idle still loads all surfaces. Search and Settings, plus direct sheet controls, will use that interface. Search's panel will retain the same target for its internal focus/hover events so opening it does not start unrelated imports. New isolated phone intent tests will assert that no unrelated UI chunks are fetched through the first opening.
Head
8e1ae6509299041351e0fa8161f5c08437a18d35is ready for the fifth full timing matrix. A documented data-preload-ui target lets controls prepare only the surfaces they open. Search keeps that target on its panel for internal focus/hover; direct sheet and Settings controls also declare their targets. Idle still warms every split surface once after paint. All resolved screen components stay cached; Settings prepares its hidden bar on the next frame; Palette and ListSearch remain separate small chunks; sheet crossfades start immediately. Eager notification code remains unchanged.At this product code all 152 targeted Chromium/WebKit cases pass at 390/1440, with 16 intentional skips. Six new phone tests prove hover/pointer-down/focus intent and first Search opening fetch no unrelated UI chunks. Typechecks, lint and all 337 unit tests pass. The clean committed head was rebuilt and passes unchanged budgets: 237.54 KB first-load JS and 294.58 KB total JS.
Starting the same unmodified 672-measurement matrix under the exclusive perf lock on 10by32-01-std, with 4x CPU, seven alternating base/base2/head reps, disabled HTTP cache, both widths and cold/warm. Base remains
5ffd5dd79feabdca1b5dad7e4514e028ad56b554. All previous complete failed matrices and both diagnostic traces will be retained in the final attachment. No merge or deploy.The completed fifth-matrix phone ListSearch cold cell passes at
8e1ae6509299041351e0fa8161f5c08437a18d35: 25.8 ms head versus 27.9 ms base, delta -2.1 ms with 1.7 ms measured noise. All seven head samples have 2 script resources before opening and 3 afterward, compared with 2 to 12 under batch intent loading. The six isolated Chromium/WebKit phone intent tests also pass and verify no unrelated UI script or stylesheet fetch through first opening. This supports the targeted-intent fix; the complete matrix is still running, so overall acceptance remains pending.All 336 phone cases at
8e1ae6509299041351e0fa8161f5c08437a18d35are complete. All 16 requested cold/warm timing cells pass, including the stricter legacy cold-toast rule. Search intent uses only its own panel chunk; Settings bar preparation is guaranteed before first activation by the new tests. Desktop is running; overall acceptance remains pending.Requested timing acceptance FAILED (3 of 32 cells) at head
8e1ae6509299041351e0fa8161f5c08437a18d35. All 672 functional timing cases passed. The unchanged timing harness reports failures; its output is included verbatim below.Branch
perf/bundle-room-4, base325cb34e343327f653a4a11b840239cae1f3e0be; timing base5ffd5dd79feabdca1b5dad7e4514e028ad56b554. New PR: #746.Timing acceptance remains blocked by the three desktop cells listed below. The inline desktop filter is eager; it is distinct from the phone ListSearch panel. The warm inline cell is just above its unrounded noise limit even though both round to 0.70 ms. No acceptance waiver is applied.
All split UI surfaces warm once after paint through requestIdleCallback with a 1000 ms deadline and a timer fallback. Pointer, hover and focus intent prepares declared surface targets; idle still warms every surface. Settings, Palette, ListSearch, Inspector, NotePicker, Insert and Info retain their resolved components, so warmed opens avoid await blocks. Primary screen requests start before auxiliary requests. Palette and ListSearch stay in separate small on-demand chunks for use before idle. Settings builds its hidden bar on the following frame instead of waiting for a second idle callback. Ready sheets crossfade immediately without an extra handoff wait. Toast and notification paths stay eager.
Both typechecks and lint pass (web: 0 errors, 14 existing warnings). All 299 editor and 38 UI unit tests pass. Targeted Chromium/WebKit specs at 390 and 1440 pass: 152 distinct applicable cases, 16 intentional skips; coverage includes idle/timer/intent preload, first-update content, stylesheet recovery, Undo, Info and sheet geometry. Bundle budgets are unchanged and pass: 237.54 KB first-load JS and 294.58 KB total JS (Brotli).
The first follow-up matrix at
acb6d15apassed all 672 functional cases but failed eight timing cells. A separate 24-case trace led to the Palette and sheet-entry changes. An intermediate second matrix passed all phone cells but failed two desktop warm cells under the requested noise rule. A third matrix passed all sheet and cold-toast cells but exposed phone ListSearch cold and Settings warm failures, leading to the separate search chunk and Settings bar preparation. A fourth matrix fixed Settings preparation but exposed competition from batch intent loading; targeted intents now avoid those unrelated imports. All five complete matrices and both diagnostic traces are attached; the final matrix uses the same unmodified harness as the prior job. Raw measurements, harness, traces and validation logs. No evidence is committed to the repo.Medians in ms. Prior run is PR #726 at
325cb34e; follow-up uses8e1ae650. Both runs compare against the same base SHA and use independent base2 samples to measure each cell's noise.Requested noise-based gate: 3 of 32 cells failed. The unchanged harness also reports its stricter zero allowance on cold notifications below.
Verbatim final timing gate output:
Verbatim final bundle gate output:
No merge, deploy, or issue closure.
Superseded by #747 (same bundle trim plus idle preloading; timing acceptance passed), which goes to dev in train BM1. Closing.
Pull request closed