Perf: switching modes in the tray paints too slowly (measure per mode pair, then fix) #424
Open
opened 2026-09-29 09:34:41 +00:00 by kayg
·
75 comments
No Branch/Tag specified
dev
wip/rev2-money-ident
wip/restyle-notes
wip/previewcard-1098
wip/palette2-1123
wip/palette-1093
wip/onboard2-1141
wip/onboard-1141.aborted-early
wip/onboard-1141
wip/nlpchip-1127
wip/morph-1104
wip/merge-round-7c5
wip/merge-round-7c4
job/notifloop-1194
wip/merge-round-7c3
wip/merge-round-7c2
wip/merge-round-7c
wip/mchrome-1084
wip/mailghost2-1094
wip/mailghost-1094
wip/kbpreview2-1118
wip/kbpreview-1118
wip/kanban-1092
wip/importhang-1121
wip/hiderev-1153
wip/hide4-1153
wip/hide3-1153
wip/hide2-1153
wip/hide-1153
wip/editreg-1132
wip/editorrail3-1113
wip/editorrail2-1113
wip/editorrail-1113
wip/e2e-b2-1071
wip/e2e-b-1071
wip/draw4-1101
wip/draw3-1101
wip/draw2-1101
wip/draw-1101
wip/directory-1199-r
wip/directory-1199
wip/delete-1119
wip/collabrev-1197
wip/collabloss-1197
wip/cards2-1083
wip/cards-1083
wip/canvas-visual
wip/canvasvis2-976
wip/calhdr-1112
wip/calcards-1115
wip/browserfix
wip/blocks-1125
wip/allday-1107
wip/agenda-decks
wip/agenda-1086
wip/adv7c-1105
wip/txentry-1198
wip/trayicons2-1095
wip/trayicons-1095
job/onboard-1141
wip/sidebar3-1094
wip/rev2-webperf
job/collabloss-1197
job/hide-1153
job/perf-1124
job/perf2-1124
job/tocrail-1191
job/restyle-settings
wip/restyle-settings
job/segmented-1200
wip/notifloop-1194
job/tagperf-1186
wip/tagperf-1186
wip/segmented-1200
job/restyle-files
job/tagdnd-1187
job/merge30
job/cards-1179
wip/cards2-1179
wip/cards-1179
wip/tocrail-1191
wip/tagdnd-1187
wip/restyle-files
wip/perf-1124
wip/merge30j
job/restyle-notes
job/wizchoices-1140
job/adv-1202
wip/wizchoices-1140
wip/restyle-1190
job/moneyfmt-1180
job/txentry-1198
wip/moneyfmt2-1180
wip/moneyfmt-1180-r
wip/moneyfmt-1180
job/pillglass-1189
job/flags-1181
wip/flags-1181
job/restyle-1190
job/restyle-mailmoney
job/restyle-search
job/settingsreg-1195
job/wizard-1140
site/website
wip/wizardrev2-1140
wip/wizardrev-1140
wip/wizard5-1140
wip/wizard4-1140
wip/wizard3-1140
wip/wizard2-1140
wip/wizard-1140
wip/pillglass-1189
wip/settingsreg-1195
job/merge29
job/fu-1171
wip/merge29j
wip/fu-1171
job/fu-1166
job/directory-1199
job/proflog-1204
job/txresearch-1188
wip/fu-1166
job/merge28
job/search-1066
wip/search-1066
wip/merge28j
job/gateslot-1182
job/bulkimport-1157
job/mailnet-1160
wip/mailnetrev-1160
wip/mailnet-1160
wip/bulkrev-1157
wip/bulkimport-1157
job/startup-1161
wip/startup-1161
job/merge27
job/linkcards-1151
wip/linkcards3-1151
wip/linkcards2-1151
wip/linkcards-1151
job/traydate-1144
wip/traydate3-1144
wip/traydate2-1144
wip/traydate-1144
job/draw-1101
wip/merge27j
job/blockpill-1152
wip/blockpill3-1152
wip/blockpill2-1152
wip/blockpill-1152
job/minihover-1149
wip/minihover2-1149
wip/minihover-1149
job/merge25
wip/merge25-r
wip/merge25b
wip/merge25
job/inspector-1129
job/tags-1110
wip/inspector3-1129
wip/inspector2-1129
wip/inspector-1129
wip/tagsrev-1110
wip/tags2-1110
wip/tags-1110
job/dates-1148
wip/datesrev-1148
wip/dates2-1148
wip/dates-1148
job/licence-1145
wip/licence2-1145
wip/licence-1145
job/selfhost-1156
job/merge23
wip/merge23
job/tagfilter-1109
wip/tagfilter2-1109
wip/tagfilter-1109
job/kbd-1134
wip/kbd2-1134
wip/kbd-1134
job/palfoot-1137
wip/selfhost-1156
wip/palfoot2-1137
wip/palfoot-1137
job/toggle-1158
wip/toggle-1158
job/kbpreview-1118
job/docratchet-1155
job/perflint-1133
job/devtests-1159
wip/docratchet-1155
wip/devtests-1159
job/segv-1136
wip/toast-1142
wip/segv-1136
job/toast-1142
job/blockreload-1147
wip/blockreload-1147
job/font-1150
wip/font-1150
job/importui-1120
job/minimonth-1149
wip/importui-1120
wip/minimonth-1149
job/depcheck-1146
wip/perflint-1133
wip/depcheck-1146
job/calcards-1115
job/blocks-1125
job/plus-1128
job/shift-1138
wip/plus2-1128
wip/plus-1128
wip/shift-1138
job/moneyfid-1130
job/editorrail-1113
wip/moneyrev-1130
wip/moneyfid-1130
job/noext-851
wip/noext-851
wip/noext3-851
wip/noext2-851
job/week-1135
wip/week-1135
job/editreg-1132
job/smoke-1122
wip/smoke-1122
job/docs-1143
job/palette2-1123
job/calhdr-1112
job/nlpchip-1127
job/mailghost-1094
job/reconnect-1131
wip/reconnect-1131
job/trayicons-1095
job/delete-1119
job/importhang-1121
job/cards-1083
job/palette-1093
job/mchrome-1084
job/e2e-a-1071
job/canvas-visual
job/previewcard-1098
job/allday-1107
wip/e2e-a2-1071
wip/e2e-a-1071
job/e2e-b-1071
job/adv7c-1105
job/kanban-1092
job/agenda-1086
job/merge-round-7c
job/morph-1104
wip/surfaces-p2
job/merge-round-9
wip/merge-round-9
job/7cfix-small
wip/7cfix-small
job/mailui-1078
job/merge-round-8
wip/merge-round-8
wip/mailui-1078
job/mailround-1038
job/applemail-accept
wip/settitle-1068
wip/mailround2-1038
wip/mailround-1038
wip/e2e-7b
job/crash-1069
wip/crash-1069
job/searchlost-1066
wip/searchlost-1066
job/7b-reconcile
job/flake-1065
wip/flake-1065
wip/merge-round-7b7
wip/merge-round-7b6
wip/merge-round-7b5
wip/merge-round-7b4
wip/7b-reconcile
job/appupdate-1059
job/nfd-1044
wip/appupdate-1059
job/e2e-7b
job/loop-1062
wip/loop-1062
job/pdfprev-1045
job/invtoggle-1053
wip/pdfprev-1045
wip/nfd-1044
wip/invtoggle-1053
job/7bfix-e2e
job/mailstress-b
wip/7bfix-e2e
wip/mailstress-b
job/7bfix-adv
wip/7bfix-adv
job/mailstress-a
job/stack-1054
wip/stack-1054
wip/mailstress-a
job/mailstress-1038
wip/mailstress-1038
job/upload500-1051
wip/upload500-1051
job/share-1034
wip/share-1034
job/syncerr-1037
job/7bfix-photos
wip/7bfix-photos
job/paste-1036
job/setside-1039
wip/setside-1039
wip/paste-1036
job/lease-1042
wip/syncerr-1037
wip/lease-1042
job/7bfix-data
job/passkeybind-1043
wip/apprevoke-1041
job/invite-1035
wip/invite-1035
job/merge-round-7b2
wip/merge-round-7b2
job/mailproxy-486
job/apprevoke-1041
job/rebuild-1033
job/pillborder-1029
wip/pillborder-1029
wip/mailproxy-486
wip/applemail-486
job/headless-998
wip/headless-998
job/groups-1028
wip/groups-1028
job/rebuildwarn-1016
wip/rebuildwarn-1016
job/startup-1011
wip/startup-1011
job/monthpill-1009
job/bgthumb-1025
job/sharetitle-1012
wip/monthpill-1009
wip/bgthumb-1025
wip/sharetitle-1012
job/canvas-cards-977
wip/canvas-cards-977
job/canvas-pencil-978
job/canvas-sketch-990
wip/canvas-sketch-990
wip/canvas-pencil-978
job/canvas-files-989
wip/canvas-files-989
job/canvas-collab-991
wip/canvas-collab-991
job/weekscroll-1018
wip/weekscroll-1018
wip/canvas-core-976
job/canvas-core-976
job/round-drag
wip/round-drag
job/round-settings
job/browserfix
wip/oapi-974
job/oapi-974
job/hist2-integrate
job/mailhtml-726
wip/mailhtml-726
wip/hist2-integrate
job/moneyfu-984
job/drag-1015
wip/drag-1015
job/rename-1017
wip/rename-1017
job/hist2-api
wip/hist2-api
job/oneacct-1014
wip/oneacct-1014
wip/moneyfu-984
job/hist2-bench
job/hist2-restore
wip/hist2-bench
job/hist2-write
job/hotfix-724
wip/hotfix-724
wip/hist2-write
wip/hist2-restore
job/hist2-store
job/hist2-ui
wip/hist2-ui
wip/hist2-store
job/searchstarve-965
job/shutdown-963
wip/shutdown-963
wip/pubedit-981
job/pubedit-981
job/analytics-973
wip/searchstarve-965
job/authflash-850
job/weeklane-969
job/pvtitle-1004
job/hist-975
wip/authflash-850
job/voicepill-617
wip/pvtitle-1004
job/headring-1003
wip/weeklane-969
wip/voicepill-617
wip/headring-1003
wip/analytics-973
job/agentscope-980
wip/thumbsandbox-988
job/thumbsandbox-988
wip/hist-975
job/links-856
wip/links-856
job/davetag-966
wip/davetag-966
job/filesstorm-1000
job/hoverpad-725
wip/filesstorm-1000
job/ffmpegblas-993
job/merge-round-7a
wip/hoverpad-725
wip/ffmpegblas-993
job/nowdot-1002
wip/verify-7a
job/noteid-857
wip/nowdot-1002
wip/noteid-857
wip/merge-round-7a
wip/agentscope-980
job/imapedge
job/a11yfix2
wip/imapedge-941
wip/imapedge
wip/a11yfix2
job/notetask-986
job/logheading
wip/logheading-998
job/textthumb-652
job/photolive-987
wip/photolive-987
job/davactive-983
job/savefix-985
job/tabicons-607
wip/davactive-983
wip/tabicons-607
wip/notetask-986
wip/savefix-985
job/dirid-627
job/buildspeed-1007
wip/dirid-627
job/agenda-decks
job/perfguards-impl
job/undo-a11y
wip/undo-a11y
job/mailperf
job/wal-824
wip/settings-50
job/settings-50
job/notesfilter-606
wip/notesfilter-606
job/surfaces-p2
wip/wal-824
job/maillayouts
wip/mailperf
wip/maillayouts
job/taskmeta-659
job/money-ident
wip/money-ident
wip/taskmeta-659
job/errstates
wip/perfguards-impl
job/headings-881
wip/headings-881
wip/errstates
job/voice-619
job/gaps-827
job/notesperf
wip/notesperf
wip/voice-619
job/hddsql-549
job/perf-stream-668
wip/perf-stream-668
wip/deeplinks-fix
job/deeplinks-fix
job/authfix
job/docsfix-rust
wip/docsfix-rust
job/webperf
job/docsfix-web
job/datafix2
job/webdav-lock-476
job/copyfix
wip/copyfix
wip/webperf
job/focus-658
wip/protofix
job/mediafix
job/protofix
wip/mediafix
job/agentfix
job/hhmm-724
wip/agentfix
job/undo-722
job/reuse
wip/webdav-lock-476
wip/reuse
job/scopefix
job/datafix
wip/hhmm-724
wip/undo-722
job/surfaces-p1
wip/hddsql-549
job/voicememos-618
wip/datafix2
wip/surfaces-p1
job/fix-940
wip/fix-940
job/blaze-surfaces
wip/datafix
wip/blaze-surfaces
job/taskday-655
job/linknav-639
wip/linknav-639
wip/gaps-827
job/isolation-707
job/audiophotos-720
wip/audiophotos-720
job/advfind-664
wip/voicememos-618
wip/taskday-655
wip/isolation-707
wip/advfind-664
wip/scopefix
wip/focus-658
job/testgaps
wip/testgaps
job/overscroll-718
wip/authfix
job/deps
wip/overscroll-718
job/rev2-agentfix
job/rev2-money-ident
job/rev2-mailperf
wip/deps
job/hardening-728
wip/hardening-728
job/searchgen-832
wip/searchgen-832
job/photopw-849
job/mailsql-825
wip/photopw-849
job/sharefix
wip/sharefix
job/rev2-mailhtml-726
job/rev2-perfguards
job/copyval-723
job/lightglass-r2
wip/lightglass-r2
wip/docsfix-web
job/copy-audit
job/macinterop-staging-r2
job/design-sync
job/rev2-taskmeta-659
job/rev2-webperf
job/docs-audit
job/rev2-advfind-664
job/rev2-mailproxy-486
job/states-audit
job/rev2-datafix
job/design-drift
job/test-gaps
job/rev2-voicememos-618
job/rev2-mediafix
job/rev2-deps
job/rev2-datafix2
job/licence-audit
job/issue-hygiene
job/rev2-protofix
job/rev2-voice-619
job/rev2-isolation-707
job/rev2-surfaces-p1
job/deeplink-audit2
job/rev2-audiophotos-720
wip/test-gaps
job/rev2-overscroll-718
job/rev2-undo-722
wip/states-audit
job/rev2-dropmd-719
job/rev2-linknav-639
job/merge-7b-plan
wip/merge-7b-plan
job/rev2-taskday-655
wip/mailsql-825
job/rev2-webdav-lock-476
job/rev2-browserfix
wip/design-drift
job/rev2-hddsql-549
wip/deeplink-audit2
job/rev2-scopefix
job/rev2-authfix
job/rev2-hardening-728
job/rev2-wal-824
job/rev2-sharefix
job/calsidebar-638
job/chrome-audit
job/ioperf
wip/ioperf
wip/chrome-audit
wip/calsidebar-638
job/dropmd-719
wip/dropmd-719
job/ocr-build
wip/ocr-build
job/blaze-settings
wip/copyval-723
job/toastring-721
wip/toastring-721
job/deployfix-732
wip/deployfix-732
wip/blaze-settings
job/money-import-recheck
job/rev-a11y
job/perf-arch-db
job/rev-7b-data
wip/textthumb-652
wip/perf-arch-db
job/sec-protocols
job/sidehdr-660
job/rev-7b-security
job/research-surfaces
job/rev-design-gaps
job/rev-mcp-api
wip/sidehdr-660
job/perf-arch-memory
wip/sec-protocols
job/perf-arch-bundle
job/snapedge-714
wip/rev-mcp-api
job/sec-supplychain
wip/research-surfaces
job/perf-arch-sync
job/rev-consistency
job/perf-arch-server
wip/perf-arch-server
wip/perf-arch-memory
job/perf-arch-io
job/perf-arch-client
job/sec-fs
job/sec-mcp-scopes
job/sec-sharing
job/perf-guards
job/sec-browser
job/sec-admin-deploy
job/sec-auth
wip/snapedge-714
job/bgpicker-717
wip/perf-arch-bundle
wip/money-import-recheck
job/advsetup-654
wip/bgpicker-717
wip/advsetup-654
job/burst-709
job/kbdcaps-710
job/app-pw-chooser
wip/burst-709
wip/app-pw-chooser
job/imaptest-625
wip/kbdcaps-710
job/fix-499
wip/fix-499
job/perf-mut-667
job/calimg-589
job/perf-snap-666
wip/calimg-589
wip/perf-snap-666
wip/perf-mut-667
job/perf-cache-665
wip/perf-cache-665
job/voicefiles-620
wip/voicefiles-620
job/admin-burst-705
wip/admin-burst-705
job/voicememos-review
wip/voicememos-review
wip/ryw-653
job/ryw-653
job/writeonopen-661
job/instant-663
wip/writeonopen-661
job/money-import-review
wip/money-import-review
wip/importjs-610
review/integrations-407-round6
wip/integrations-review
job/dragghost-612
wip/dragghost-612
job/integrations
wip/integrations
job/decider-656
job/merge-round-6
job/perf-rerun
wip/merge-round-6
job/integrations-review-round5
job/selalign-576
wip/selalign-576
job/mcp-events-491
job/files-631
job/cal-e2e-569
wip/cal-e2e-569
job/reload-423
wip/reload-423
wip/mcp-events-491
wip/files-631
job/notesbridge-644
wip/notesbridge-644
job/editor-series
job/calcard-series
wip/calcard-series
job/mcp-events-review-491
wip/mcp-events-review
wip/editor-series
job/quirks-546
job/integrations-recheck
job/tocrail-636
wip/tocrail-636
wip/quirks-546
wip/reminders-643
job/reminders-643
wip/davscale-573
job/davscale-573
job/integrations-review
wip/ocr-eval-584
job/ocr-eval-584
job/esc-537
wip/esc-537
job/toastname-586
wip/toastname-586
job/submenu-579
wip/submenu-579
job/tasks-mode
wip/tasks-mode
job/agentdocs-630
job/dupwrite-634
wip/agentdocs-630
wip/dupwrite-634
job/lightglass-588
wip/lightglass-588
job/tabswitch-549
job/ghosttask-623
wip/ghosttask-623
job/toaststack-616
job/weekstate-609
job/mailsync-613
wip/mailsync-613
wip/weekstate-609
job/maildup-626
wip/tabswitch-549
wip/maildup-626
wip/toaststack-616
job/motion-611
wip/motion-611
job/tlstest-601
wip/tlstest-601
job/perf-495
job/floating-sheet
wip/floating-sheet
job/remdup-585
wip/remdup-585
job/fix-502
wip/fix-502
job/attachplay-622
job/perf-batch
wip/perf-batch-563
wip/perf-495
hotfix/mail-sync-diag
job/mail-m3
wip/mail-m3
job/attach-poof-603
job/calhover-608
job/editorbar-604
job/mentions-605
job/merge-round-4
job/allday-514
wip/merge-round-4
wip/allday-514
job/merge-round-4a
wip/merge-round-4a
job/sharestack-580
job/fix-501
wip/sharestack-580
wip/fix-501
job/perf-batch-563
job/apw-cache-review
wip/apw-cache-review
job/probe-520
wip/probe-520
job/mac-393
wip/mac-393
job/header-571
job/flake-513
wip/flake-513
job/docs-thumb-547
wip/header-571
job/webcal-572
wip/webcal-572
wip/shortcuts-542
job/shortcuts-542
wip/docs-thumb-547
job/caldav-stress
wip/caldav-stress
wip/sweep-478
job/apw-cache-512
wip/apw-cache-512
job/money-empty-540
wip/restart-505
wip/money-empty-540
wip/fix-510
job/restart-505
job/fix-503
job/perf-496
wip/perf-496
job/fix-498
wip/fix-498
job/info-inspector-465
wip/info-inspector-465
job/fix-510
job/fix-507
wip/fix-507
wip/fix-503
job/fix-493
job/money-kinds
wip/money-kinds
job/hygiene-548
job/merge-round-3
wip/fix-493
job/drag-snap-536
wip/merge-round-3
wip/merge-round-0930
wip/drag-snap-536
job/align-538
wip/align-538
job/bg-flash
wip/bg-flash
job/money-import
job/search-count-544
wip/search-count-544
wip/money-import
job/settings-key-541
wip/settings-key-541
job/toast-539
job/preview-421
wip/preview-421
wip/toast-539
job/tasks-500-531
job/title-plain-526
wip/title-plain-526
wip/tasks-500-531
job/notes-bridge
wip/parity-484
job/parity-484
job/files-slow
job/crash-525
wip/notes-bridge
wip/files-slow
wip/crash-525
job/kbd-motion-527
wip/bg-422
job/analytics-504
wip/analytics-504
wip/kbd-motion-527
job/upload-pill-523
wip/upload-pill-523
wip/tray-order
job/tray-order
wip/overflow-mid
wip/merge-round-2
job/perf-494
wip/perf-494
wip/mcp-fast-492
wip/motion-477
wip/asr-ab-489
wip/theme-variants-506
wip/overflow-511
wip/week-header-508
wip/attach-427
job/dav-delete-471
job/iso-435
wip/iso-435
wip/files-sel-keys
wip/dav-delete-471
job/align-253
job/siwc-490
wip/siwc-490
job/money-kinds-review
wip/align-253
wip/money-kinds-review
job/small-bugs-3
wip/overlay-title-487
wip/multiget-500
wip/hidden-420
wip/webcal-ui
wip/webcal-431
job/perf-367
job/location
wip/small-bugs-3
wip/location
wip/perf-367
wip/admin-deny-483
job/tag-unicode-473
wip/tag-unicode-473
job/blur-436
wip/photos-470
wip/blur-436
wip/small-bugs-4
wip/hunt-20260930
wip/settings-hdr-482
wip/chips-416
job/dedup-375
wip/dedup-375
job/doc-stack
wip/doc-stack
job/tokens-literals
wip/tokens-literals
job/jobs-leftovers
wip/send-fast
wip/paste-467
wip/money-numbers
job/money-plugin
wip/money-plugin
job/break-dav
wip/merge-batch
wip/crossday-469
wip/mac-verify
wip/mail-m2
wip/break-dav
wip/money-review2
job/money-md
job/modes-424
wip/money-md
wip/jobs-leftovers
job/agenda-413
wip/agenda-413
wip/modes-424
job/recog-417
wip/recog-417
wip/bounce-425
wip/ab-384-luna
job/webdav-perf
wip/webdav-perf
job/toast-ring
wip/toast-ring
job/money-review
wip/money-review
wip/micro-motion
wip/settings-card
wip/minical
job/notes-imap-428
job/least-priv
wip/ui-small-2
wip/flaky-426
wip/drag-end-418
job/jank
wip/jank
wip/least-priv
wip/docs-site
job/agenda
job/sec-batch
wip/sec-batch
wip/per-user-index
job/area-calendars
wip/area-calendars
job/parity
wip/parity
job/documents-research
wip/documents-research
job/test-infra
job/reminders-sync
wip/small-bugs-2
wip/reminders-sync
wip/gestures
job/google-oauth
wip/tags-merge
wip/tags
job/e2e-theme
wip/e2e-theme
job/icon-align
wip/test-infra
wip/select-align
wip/editor-385
job/voice
wip/webdav
job/webdav
job/app-pw-ui
job/editor-integrity
wip/editor-integrity
wip/voice
wip/quota
wip/cal-followups
wip/icon-align
job/composer-scale
wip/composer-scale
job/jobs-page
wip/jobs-page
job/hig-type
wip/hig-type
wip/app-pw-ui
job/motion-spring
job/mcp
wip/motion-spring
wip/mcp
job/small-bugs
wip/push-hosts
job/profile-sign
wip/touch-369
wip/profile-sign
job/mobile-focus
wip/mobile-focus
wip/ui-polish-354
wip/small-bugs
wip/dup-task
job/toast-polish
job/app-pw-scopes
wip/toast-polish
wip/app-pw-scopes
wip/cli-agent
wip/selection-pills
job/preview-attach
wip/preview-attach
job/dav-proppatch
wip/dav-proppatch
wip/cal-switcher
job/atomic-race
wip/atomic-race
job/photos-shared
wip/photos-shared
wip/cal-grid
wip/note-rewrite
wip/search-rebuild
job/mail-m1
job/paperless-import
wip/paperless-import
wip/mail-m1
wip/hidden-activity
wip/search-d
wip/pricing-research
wip/cursors
wip/auto-scheme
job/single-pills
wip/single-pills
wip/xuser-matrix
wip/money-format
wip/app-pw-setup
wip/purge-dos
wip/vault-health
wip/caldav-apple
wip/xuser-audit
wip/e2e-green
wip/tabbar
wip/adv-harness
wip/maple-mono
job/search-fix
wip/search-fix
wip/search-perf-c
job/adv-harness
wip/sidebar-headers
job/glass
wip/temp-index
job/polish
wip/polish
wip/file-protocols
wip/money-research
wip/glass
wip/voice-models
wip/collab-redo
job/voice-research
wip/hunt-20260928
wip/notes-actions-research
wip/search-pad
wip/search-perf
wip/search-sticky
wip/editor-undo
wip/chrome-rules
wip/motion
wip/appearance-research
wip/appearance
wip/audit-bugs
wip/cal-glass
wip/block-actions
wip/authz-order
wip/event-stripes
wip/chrome-sidebar
wip/auth-flaky
wip/robust-2
wip/gate-fix
wip/menu-blur
wip/import-calternaljs
wip/tray-fix
job/import-calternaljs
wip/index-order
wip/audit-fixes
wip/search-chevrons
research/mail
wip/phone-chrome
wip/dedup-break
wip/csp
wip/ui-audit
wip/select-toast
wip/perf
wip/flat-layout
wip/fonts
wip/event-tint
wip/sync-converge
wip/data-split
wip/glass-audit
wip/robustness
wip/sync-chaos
wip/search-thumbs
wip/fuzz
wip/menu-icons
wip/search-pill
wip/sync-changing
wip/heading-links
wip/date-formats
wip/a11y
wip/break-editor
wip/e2e-fix
wip/settings-sections
wip/sync-root-guard
wip/search-palette
wip/share-edit
job/toasts
wip/toasts
wip/cont-analytics
wip/authz-review
wip/popovers
wip/overlay-glass
wip/change-feed
wip/editor-modes
wip/composer-align
wip/cont-agenda
wip/agenda-merge
job/agent-conventions
wip/agent-conventions
wip/backend-misc
job/route-audit
wip/route-audit
wip/ui-batch
wip/heif-hardening
wip/grid-resize
wip/ask-page
wip/webmcp
job/deeplink-audit
wip/deeplinks
wip/shortcuts
wip/cont-tz-days
main
No results found.
Labels
Clear labels
No items
No 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#424
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?
Bug (owner, 2026-09-29, calternal.cloud)
"Changing between modes in the tabs is too slow! Please investigate. We need to animate it fast, which is another issue, but the painting itself when moving between tabs is not very fast."
Scope: the paint latency of a mode switch (tray tab click to the new mode fully painted). The transition animation is out of scope here (#414 jank and the motion issues own it). Do not change the animation.
Measure first (exact protocol, decision rule fixed up front)
netbird ssh --no-browser --user root 10.69.69.63. The perf-367 job also uses it, so coordinate by running at different times: checkuptimebelow 1 and that no other server is running, before each run.bench/.backdrop-filteror glass compositing, image decode, or the background picture re-decode.Report median and p95 of 10 interleaved runs per pair.
Targets
Fix candidates (keep one only if it improves its metric by ≥ 10%, median of 5 A/B runs, with no other tracked metric regressing more than 3%, and all gates green)
isModePreloadedexists in+layout.svelte; extend it).backdrop-filterrepaint on switch; keep the background picture decoded once.Proof
Commit the before and after tables under
docs/perf/runs/, with the traces summarised (no raw multi-MB traces in the repo). Add an e2e perf guard that measures warm switch latency and reports it; it is not a merge gate (CLAUDE.md). Code comments must explain each cache or preload and its bounds. Gates as in the preamble.Starting #424 on branch job/modes-424, based on dev at
191b179baa. I will measure mode-switch paint latency on the specified production perf VM before changing the route path.The perf-test VM is busy, so I have not taken a baseline: uptime reports load averages 5.06, 3.32, 1.96 and /root/jank414/target/debug/calternal-server plus its Playwright Chromium are running. I am proceeding with code-path and measurement harness inspection while waiting for a quiet window.
Measurement harness progress and findings:
PLUGIN_NAVIGATIONadds optional Analytics and Ask. Notes, Tasks, Mail, Money, Search, and Settings are not tray modes in this build. The benchmark will measure every enabled tray tab and list the requested modes that are absent./opt/calternal-webdav-perf/bin/calternal-serverwas running. This does not meet the issue's load-below-1 and no-other-server requirement.The Files tab opens
/filesat Home (selectModenavigates to the registry href). A fixture with 600 files nested underDocuments/would make the measured Files screen show only the folder, so it would not exercise the requested large list. I am seeding the 600 synthetic document files at Home and will assert the Home listing count before measuring.Measurement definition recorded because DESIGN does not specify a paint-completion quiet interval: after the primary content marker appears, the benchmark requires the mode's layout box and descendant count to stay stable for 32 ms (two 60 Hz frame intervals) and waits past observed Layout Instability entries. It samples offsets and dimensions, so transform animation remains outside this paint metric as #424 requires. The probe records layout shifts even when Chrome marks them as input-related.
The responsive evidence pass exposed a probe-selector mismatch: Calendar Today uses
.iteminAgendaList.svelte, while Day/Week uses.blockinGridColumn.svelte. The desktop benchmark stays on the Week view, but phone captures need to wait for either real primary marker. I am updating the shared marker to cover both layouts.Perf VM check at 10:29 UTC: the #414 browser/server had exited, but the WebDAV perf fixture service was still running and the 1-minute load average was 4.45. The required quiet-host threshold (<1) is not met, so no build or measurement was started. I left the shared processes untouched and will resume when the host is idle.
Perf VM recheck at 10:35 UTC: load averaged 2.41; the #414 debug server and seven headless Chromium processes were active alongside the WebDAV fixture service. The host is still outside the required quiet window. I have not started a build or measurement.
Harness review finding:
resourceSummarychecked/api/before the resource initiator. That labeled an API-backed<img>or CSS image as a data fetch and could hide the custom wallpaper request in the image-load report. I moved image initiators ahead of the API-path rule.node --check apps/web/e2e/mode-switch-perf.mjsandgit diff --checkpass.Perf VM recheck at 10:44 UTC: another #414 server/Chromium run started; the 1-minute load average rose to 4.18. The WebDAV perf fixture service also remains active. No #424 build or timing has started because the required quiet-host condition is unmet.
Perf VM diagnosis at 10:46 UTC: load was 3.79.
psshowed/opt/calternal-webdav-perf/bin/calternal-serverusing 87.6% CPU, plus the WebDAV fixture service. This confirms the ongoing performance service is actively loading the VM; I have not started #424 work there.Harness review finding: visually-complete latency was read with
performance.now()after Playwright returned from the page wait, so it included browser-driver round-trip time. Layout-shift timestamps also used observer delivery time, which could miscount shifts buffered before a click. The probe now stores the completion time and each shift'sentry.startTimein the page clock.node --check apps/web/e2e/mode-switch-perf.mjsandgit diff --checkpass.Perf VM recheck at 10:54 UTC: load was 4.38. The WebDAV perf server was using 89.3% CPU, and the #414 server/Chromium run was active. The required <1 load/no-other-server window has not occurred, so #424 measurements remain unstarted.
Perf VM check at 10:57 UTC: #414 had stopped, but the WebDAV perf server alone was still using 89.2% CPU; load was 3.62. This means the required quiet condition is also unavailable between #414 runs. #424 measurement has not started.
Perf VM recheck at 11:04 UTC: load was 4.38. The WebDAV perf server (89.5% CPU) and a fresh #414 before-calendar trace run (server at 93.7%, Chromium GPU process at 92.4%) were active. The host is still unavailable for #424's production baseline.
Perf VM check at 11:10 UTC: load was 4.55. The #414 after-calendar trace run was active (debug server and Chromium GPU process near 90% CPU), while the WebDAV perf server remained at 90% CPU. No quiet measurement window has opened for #424.
Perf VM check at 11:17 UTC: load briefly reached 0.51, but
/opt/calternal-webdav-perf/bin/calternal-serverwas still active at 84.3% CPU. The protocol requires both load <1 and no other server, so I did not start the #424 build or run.Perf VM check at 11:20 UTC: load was 0.24, but
/opt/calternal-webdav-perf/bin/calternal-serverremained running (10.4% CPU) with the WebDAV fixture service. The load criterion passed, but the no-other-server criterion did not. I did not start #424.Perf VM check at 11:24 UTC: load was 0.69, but a new #414 server/Chromium run had started and the WebDAV perf server remained active. The protocol requires no competing server as well as load <1, so #424 is still waiting.
Perf VM update at 11:27 UTC: the WebDAV perf service has stopped, but the #414 server and Chromium processes remain active and load is 2.98. The host is not yet quiet; I will run once both checks pass.
Perf VM window opened at 11:32 UTC: one-minute load was 0.79 and no calternal-server, WebDAV, or Chromium process was active. I am now staging the committed #424 source and building the production web app and release server. I will check load and server processes again before each measurement run.
Production build completed on the perf VM at 11:49 UTC:
bun run buildsucceeded andcargo build --release -p calternal-serverfinished in 14m49s; the release binary is 147 MiB. The fresh 11:49 check showed load 4.42 and the #414 server/Chromium run active, so I have not started a pilot timing run.Perf VM quiet check passed at 11:58 UTC (one-minute load 0.92; no calternal-server, WebDAV, or Chromium processes). I am starting one full-matrix production pilot to validate the 600 Documents / 3000 Photos / 365 Daily note fixture and route probes. Pilot timings will be discarded; I will recheck before the required 10-run baseline.
Pilot finding at 11:58 UTC: the harness failed before server startup because
../../bench/mode-switch-fixtures.mjsresolved toapps/bench, while the shared fixture module is at repository rootbench/. I changed the relative import to../../../bench/mode-switch-fixtures.mjs.node --check, the target-path existence check, andgit diff --checkpass.The fixture import fix is committed as
f234a715and staged on the perf VM. Recheck at 11:59 UTC showed load 0.76 but a #414 server/Chromium run was active, so I have not retried the pilot.Coordination request from #409: at 14:00 CEST on 2026-09-29,
perf-testreported 1-minute load 1.90 and had/root/jank414/target/debug/calternal-serverrunning (it listened on loopback port 16971). The #409 Calternal and baseline units are stopped. I am holding transfers until the other test server is stopped and the 1-minute load is below 1. Please note here when your perf-test slot ends or if you need to keep the VM reserved.Perf VM recheck at 12:09 UTC: load was 2.61, with the #414 server and Chromium still active. The corrected pilot is staged, but has not been retried because the quiet-host condition still fails.
Quiet check passed again at 12:12:43 UTC (one-minute load 0.83; no server/browser process). The fixture import is fixed in
f234a715; I am retrying the one-run full-matrix production pilot. Pilot timings will be discarded.Pilot finding at 12:12 UTC: Bun rejected the harness import because
drawPhotois exported byphoto-fixtures.mjs, notharness.mjs. The import now comes from the correct module. The process exited during module loading, before it started the local server or browser.node --checkandgit diff --checkpass.The
drawPhotoimport fix is committed asf6298c89. Quiet check at 12:14:02 UTC passed (load 0.33; no server/browser process). I am retrying the one-run production pilot; timings remain validation-only.Pilot finding at 12:14–12:15 UTC: the real Photos upload API returned HTTP 412 (
upload destination changed) forMODE_424_00004.JPGwhile eight uploads targeted shared capture-date folders. Existing Photos E2E fixtures upload these entries sequentially. I changed the benchmark to serialize Photos creates while keeping Files uploads capped at eight; no server behavior or expectation changed. Static syntax, fixture-shape assertions, andgit diff --checkpass.Photos fixture uploads are serialized in commit
c7daeff3after the concurrent API writes returned 412. The quiet check at 12:17:12 UTC passed (load 0.45; no server/browser). I am retrying the one-run production pilot, with timing results still validation-only.Perf-test recheck at 14:17:55 CEST: 1-minute load was 1.37 and
/root/modes-424/target/release/calternal-serverwas active. I stopped both #409 systemd services; no matrix request ran. Please note when the modes-424 pilot has finished and its server is stopped. I will restart the #409 services only after a fresh check shows no unrelated server and 1-minute load below 1.Perf-test recheck at 14:22:53 CEST:
uptimereported load averages 6.94, 4.28, 3.02./root/modes-424/target/release/calternal-serverand itsbun run perf:modes -- --runs 1pilot remain active. Both #409 WebDAV units are inactive. No #409 request ran. I will recheck after the pilot stops and require a fresh one-minute load below 1 with no unrelated server before starting a sample.Pilot aborted at 12:23 UTC after
/root/calternal-perf-367-20260929started during Photos fixture seeding. Load rose to 7.01; the #424 switch-measurement loop had not begun. I stopped only the #424 server/browser and removed its partial temporary data. No timing from this pilot will be used.Perf-test check at 14:25:08 CEST: the
/root/modes-424/target/release/calternal-serverpilot process is no longer present. The #367 full benchmark runner is now active; one-minute load is 2.25. The #409 services remain stopped while #367 uses the VM. Please note when the #367 run releases the host.Perf VM check at 12:28 UTC: the #367 job wrapper remained active and one-minute load was 3.71. #424's previous pilot was stopped before measurements; the corrected pilot is waiting for a fresh quiet interval.
Perf VM recheck at 12:38 UTC: load was 1.74. The #367 wrapper remained present; no application server/browser was listed. The load criterion is still unmet, so the corrected pilot has not resumed.
Perf VM check at 12:41 UTC: load was 3.66, with no application server/browser active.
psshowed an unrelated CPU-bound process using 271% CPU; I left it untouched. The quiet-host threshold remains unmet.Perf VM check at 12:46 UTC: load was 2.45, with no calternal-server, WebDAV, or Chromium process active. The unrelated CPU job had exited, but residual load is still above the <1 threshold, so #424 remains paused.
Perf VM recheck at 12:53 UTC: load was 2.96 and no app server/browser was active.
psshowed an unrelated CPU-heavy process at 235% CPU, which I left untouched; the quiet-load condition is still unmet.Perf VM recheck at 12:57 UTC: load was 2.21, no server/browser was active, and an unrelated CPU-bound process used 196% CPU. I left it untouched; the quiet-host requirement is still not met.
Perf VM recheck at 13:05 UTC: load rose back to 1.72 after briefly falling to 1.02; an unrelated CPU-heavy process restarted. No app server/browser was active. The quiet-host requirement remains unmet.
Quiet check passed at 13:06 UTC (one-minute load 0.85; no server/browser process). I am retrying the one-run production pilot with Photos uploads serialized. Pilot timings remain validation-only.
Perf-test recheck at 15:07:12 CEST: the load gate passed at 0.72 / 1.50 / 1.99, but
psshows the #424perf:modes --runs 1pilot has restarted with/root/modes-424/target/release/calternal-serverand headless Chrome active. Both #409 services remain stopped and no WebDAV request ran. I will wait for the pilot to release the VM and recheck before starting.Perf-test recheck at 15:09:09 CEST: load averages were 4.89 / 2.48 / 2.27. The #424 release server remains active on loopback port 7985 with its pilot process; top processes include
vipsandpython. Both #409 units are stopped; no WebDAV sample ran. I will wait for the pilot to release the VM.Perf-test recheck at 15:10:09 CEST:
uptimereported 6.32 / 3.31 / 2.57. The #424 modes pilot's release server remains on loopback port 7985 with headless Chrome; both #409 services remain inactive. No WebDAV request ran.Perf-test recheck at 15:11:09 CEST: load averages were 7.41 / 4.17 / 2.91, with 779 MiB free and 5.0 GiB available RAM. The #424 server on loopback port 7985 remains active alongside its pilot; the #409 units remain inactive. No WebDAV request ran.
Perf-test recheck at 15:12:19 CEST: load was 8.75 / 5.14 / 3.33. The #424 server on loopback port 7985 and headless Chrome remain active; memory reports 550 MiB free, 4.9 GiB available, no swap. Both #409 services remain inactive and no WebDAV request ran.
Perf-test recheck at 15:15:31 CEST: load averages were 8.68 / 6.65 / 4.26, with 5.0 GiB available RAM. The #424 pilot server on loopback port 7985 has been active for about eight minutes with headless Chrome. Both #409 services remain stopped; no transfer ran.
Perf-test recheck at 15:17:20 CEST: load averages were 9.02 / 7.23 / 4.73, with 6.5 GiB available RAM. The #424 pilot server remains on loopback port 7985 with headless Chrome. Both #409 services are inactive and no matrix request ran.
Perf-test recheck at 15:20:38 CEST: load averages were 3.85 / 5.72 / 4.64. The #424 server remains active on loopback port 7985; a
doclingprocess was at 241% CPU / 31.3% RAM. Both #409 units remain inactive, and no matrix request ran.13:21 UTC: The production pilot has spent about 15 minutes seeding/indexing the owner-shaped Home and has not reached a mode switch. The VM shows only this benchmark server/browser; the server has used about 79% CPU over the last minute. No timing data is being treated as a result.
Perf-test recheck at 15:22:18 CEST: load averages were 3.92 / 5.40 / 4.65. The #424 modes server remains active on loopback port 7985;
doclingwas at 46% CPU. Both #409 units remain stopped and no WebDAV sample ran.Perf-test recheck at 15:23:51 CEST: load averages were 2.95 / 4.75 / 4.49, with 6.4 GiB available. The #424 server remains active on loopback port 7985 after nearly 17 minutes. Both #409 units are stopped and no transfer ran.
Coordination check for #409: the perf-test VM still has the #424 pilot server active on 127.0.0.1:7985 (uptime load 1.81 / 3.03 / 3.82 at 15:28 CEST). I have left the #409 services stopped and have not sent requests. Please let me know when the pilot is finished so I can take a clean measurement window; I will recheck load <1 and listeners before starting.
13:32 UTC: The production pilot finished on
c7daeff3with all requested Home fixtures indexed: 603 root Documents, 365 daily notes, 3,000 Photos, 272 year-to-date Log entries, Tasks, 3 Calendar events and the wallpaper. The live tray has Calendar, Files, Photos, Analytics and Ask; Notes, Tasks, Mail, Money, Search and Settings are absent. This one-run pilot is diagnostic only. Warm 1x visually complete ranged 118.7–351.3 ms across the 20 ordered pairs; Files→Calendar was slowest at 351.3 ms, with 14 API and 8 image requests after the click. Its captured warm renderer task was 73.8 ms (66 ms JavaScript, 20.8 ms style recalculation, 5.7 ms layout). The VM load rose above 1 during the run, so I am not starting the required ten-run baseline on this host until it is quiet. Pilot summaries are being added under docs/perf/runs; no production behavior change is justified by one sample.Final report for #424
What I built
bun run perf:modes, a production-build browser benchmark. It seeds real local APIs with synthetic owner-shaped data, measures every live tray mode pair cold and warm at 1x and 4x CPU, records feedback/first-content/completion, layout shifts, requests and reduced Chrome long-task summaries, and can capture light/dark review screenshots at 390/820/1440 px.docs/perf/runs/2026-09-29-424-pilot.md.Pilot evidence (one run per pair, diagnostic only)
c7daeff3. No raw traces are committed.Known gaps
Decisions where DESIGN was silent
upload destination changedon shared date-folder preconditions. Files uploads remain capped at 8 workers.Files:
apps/web/e2e/mode-switch-perf.mjs,apps/web/package.json,bench/mode-switch-fixtures.mjs,docs/perf/runs/2026-09-29-424-pilot.md.Merged
devonce with no conflicts. Head:6fdf02dff02beba58193cea9600627fab164aee3.Gate output (verbatim success lines)
cargo clippyandcargo testwere not run because this job changed no Rust crate.node --checkpassed for both new.mjsfiles with no output. Local and perf-VM Cargo targets and web build output were cleaned. The working tree is clean.Addendum: after the required
devmerge, I started the repository API-only adversarial runner. It spent 24 minutes in the isolated debug build and had not started its server or probe at the four-hour cap, so I interrupted this runner cleanly. No adversarial result is claimed for the merged API changes. The runner removed its temporary probe directory; I rancargo cleanagain and removed the generated web build. The known gap remains the adversarial round against the merged API changes.Starting round 2 on job/modes-424, based at
28ac39f917. Current pilot documents warm switches at 119–351 ms and identifies Files→Calendar as the worst case. I am checking the fixture and trace tooling before collecting the requested pair matrix.The current probe has no hover preload: +layout.svelte wires the existing callback as preloadModeOnPointerDown, and SegmentedControl invokes it on pointerdown. In the pilot, warm Files→Calendar had no requests during the 200 ms hover lead; its 14 API requests began after click (+53 ms first), followed by 8 image requests at about +260 ms. I will test an intent preload on pointer hover/focus while keeping pointerdown activation and the route animation unchanged.
The ten-run baseline passed the locked host check (load 0.48) but stopped during fixture seeding before the first switch: real Files uploads returned HTTP 507 with . The harness used the default /tmp for its temporary server data. I am rerunning with TMPDIR=/root/modes-424/target/tmp, per the job instructions; the failed attempt produced no timing samples.
Correction to the previous comment: the Files uploads returned HTTP 507 with the response message "server free-space reserve reached". The harness used the default /tmp for its temporary server data. I am rerunning with TMPDIR=/root/modes-424/target/tmp, per the job instructions; the failed attempt produced no timing samples.
Merged dev once at
1f54eb44. The production benchmark runner now supports interleaved before/after clients against one seeded server. Candidatec3c041e2adds non-selecting mode preload intent on pointer hover and keyboard focus through the existing bounded route/data preloader. Focused tray suite: 22 passed; bun run check: 0 errors and 0 warnings. The locked 10-run baseline is still collecting; it started with one-minute load 0.21.The first locked 10-run baseline attempt completed fixture seeding but failed before timing: Playwright raised TypeError because Browser has no newCDPSession method. No timing samples were accepted. I am correcting the CDP session and trace stream setup before one fresh baseline attempt.
Code review found Calendar Week/Day kept range rows for warm revisits but fetched standalone item pages on every mount. Candidate
bd9d729cadds a four-window, 30-second item cache and reapplies stale refresh results to the still-current grid chunk. Calendar data tests: 11 passed; bun run check: 0 errors and 0 warnings. The corrected 10-run baseline remains active under the perf lock.The 10-run baseline is complete at client commit
1f54eb44ce. It covers all 20 directed pairs among the five tray modes, with cold and warm samples at 1× and 4× CPU. The 1-minute load average inside the locked run was 0.17.The slowest warm 1× pair is Analytics → Calendar at 277 ms median. The slowest warm 4× pair is Files → Calendar at 893.7 ms median. Full latency, request and trace tables are committed in docs/perf/runs/2026-09-29-424-before.md and the raw samples are in the adjacent JSON file (commit
26df0444).The four before frame strips are in artifacts/modes-424-before for the slowest warm 1× pair at 1440 and 390 px, light and dark.
The merged production web build and succeeded on perf-test under ; load at build start was 0.01. The production app is still the pre-fix state. I am starting the required ten-run all-pairs baseline in the next locked, load-below-1 window, with the slowest-pair frame strips captured after measurement.
The hover/focus preload A/B finished with five interleaved runs on every directed pair and CPU rate. It fails the keep rule: Files → Calendar warm 1× visually complete p50 moved from 237.8 ms to 246.9 ms (-3.8% improvement), and 584 of 3,040 tracked comparisons regressed by more than 3% or went from zero to nonzero. The complete report is in docs/perf/runs/2026-09-29-424-hover-ab.md and the raw report is adjacent JSON (commit
957f4d6f).I will revert the hover/focus preload candidate and compare the Calendar item cache separately against the original client so one failed change does not hide an independently useful fix.
The cache-only A/B completed with five interleaved runs per variant on all directed pairs and CPU rates. Files → Calendar warm 1× total API requests fell from 13 to 6 (53.8%), but the keep guard fails: 513 of 3,040 tracked comparisons regressed by more than 3% or went from zero to nonzero. I will revert the cache change under the stated rule.
The paired latency/request/trace tables are in docs/perf/runs/2026-09-29-424-cache-ab.md; raw samples are in the adjacent JSON file (commit
b139a81b). The runner captured both clients at 390/820/1440 px in light and dark, and the before/after frame strips. I am preparing these review assets for attachment.Reuse-gate finding: apps/web/src/lib/navigation/modePreload.ts already warms and retains route modules and mode-specific module data for the active tray modes; the Files, Photos, Analytics, Ask and Calendar modules keep bounded caches. The reusable route-component search found no mounted-view keep-alive unit.
DESIGN §25 defines mode-tray and sub-view ownership but does not decide whether inactive route components or their local UI state stay mounted. I am leaving SvelteKit's route lifecycle in place and using the existing module/data retention. This avoids a new hidden route host and its extra DOM and memory cost. Local component-only state and scroll position are therefore not kept across a mode switch; no separate route-component keep-alive candidate was measured.
Resuming round 2 on branch job/modes-424. Starting HEAD:
5025469dd7; branch base:9bf3d549b4. Existing baseline and A/B findings are committed; candidate preloading and calendar caches that missed the fixed retention gate were reverted.Round 2 resumed. Branch:
job/modes-424; sync base:origin/devat369ab6a2f9fc673e3564b94857fbecfeb04df404, merged in3639bc4f9. The worktree was clean at resume. I am continuing with a fresh locked perf-VM baseline, then will use the existing reports to choose any remaining A/B candidate.Perf-VM coordination check:
flock -n /root/perf.lockreturnedPERF_LOCK_BUSYat round-2 resume. I did not run a benchmark or collect timing data. I am continuing local review and candidate work, then will make one further non-blocking lock/load check before any measurement; no waiting loop will run.Round 2 continuation report
What is built
The branch already contains the production mode-switch benchmark (
bun run perf:modes), synthetic Home fixtures, a ten-run five-mode baseline, and interleaved A/B reports for hover/focus preload and Calendar item caching. No code or report file changed during this continuation. The hover/focus candidate and the item-cache candidate remain reverted because each failed the fixed all-metrics retention guard.Files in the existing work:
apps/web/e2e/mode-switch-perf.mjsapps/web/package.jsonbench/mode-switch-fixtures.mjsdocs/perf/runs/2026-09-29-424-pilot.mddocs/perf/runs/2026-09-29-424-before.mdand.jsondocs/perf/runs/2026-09-29-424-hover-ab.mdand.jsondocs/perf/runs/2026-09-29-424-cache-ab.mdand.jsonPerf status
The pre-merge baseline covers all 20 directed pairs among Calendar, Files, Photos, Analytics and Ask, cold and warm at 1× and 4× CPU. The current branch then merged
origin/devat369ab6a2f9fc673e3564b94857fbecfeb04df404in3639bc4f90d8695277e52ab0b68fbacecb7535c6.No fresh post-merge baseline or frame strips were captured. The single non-blocking coordination attempt returned
PERF_LOCK_BUSYfromflock -n /root/perf.lock; I did not measure outside the lock. Therefore the current post-merge before/after tables and frame-strip screenshots at 1440 px and 390 px remain a gap.Existing A/B evidence: Calendar item caching lowered Files → Calendar warm 1× API requests from 13 to 6, but 513 of 3,040 tracked comparisons regressed by more than 3%; it was reverted. Hover/focus preload also failed its guard, with 584 of 3,040 comparisons regressing by more than 3%. No optimization is claimed.
Gates
Verbatim gate output:
No existing test expectation was changed.
apps/web/buildandapps/web/.svelte-kitwere removed after the gates. The worktree is clean.Decisions and gaps
No new design decision was made in this continuation. Prior comments record the benchmark’s enabled-mode catalog, visual-completion rule, hover lead, and serial Photos fixture uploads. Keep-alive remains unimplemented because no mounted-view reuse unit exists and DESIGN §25 does not decide inactive route component retention.
Known gaps: fresh post-merge baseline, post-merge A/B result, and requested current-build before/after frame strips. The current head is
3639bc4f90d8695277e52ab0b68fbacecb7535c6.