Reduce shortcut registry bundle growth #556

Open
opened 2026-09-30 22:27:31 +00:00 by kayg · 0 comments
Owner

Evidence

The #542 local route profile recorded 437,939 gzip JS bytes and 69,949 gzip CSS bytes for /settings/appearance and /settings/shortcuts at 390, 820, and 1440 px. The baseline for /settings/appearance is 400,869 JS bytes and 67,198 CSS bytes. The combined Settings bundle moved from 468,067 to 507,888 bytes (+8.51%), above the published 5% bundle budget.

The profile ran on calternal-dev with 3 runs and 4× CPU throttling. Load average was 33.62 / 34.97 / 30.34 before and 28.73 / 28.68 / 28.75 after. Route timing results are noisy and are not evidence of a latency regression. The gzip asset counts do not depend on host load.

Follow-up

Review the shortcut registry's shared hot-path bundle cost. Reduce the Settings bundle while keeping one source of truth for shortcut bindings and synchronous first-key matching. Record the updated production bundle against the same baseline.

## Evidence The #542 local route profile recorded 437,939 gzip JS bytes and 69,949 gzip CSS bytes for `/settings/appearance` and `/settings/shortcuts` at 390, 820, and 1440 px. The baseline for `/settings/appearance` is 400,869 JS bytes and 67,198 CSS bytes. The combined Settings bundle moved from 468,067 to 507,888 bytes (+8.51%), above the published 5% bundle budget. The profile ran on `calternal-dev` with 3 runs and 4× CPU throttling. Load average was 33.62 / 34.97 / 30.34 before and 28.73 / 28.68 / 28.75 after. Route timing results are noisy and are not evidence of a latency regression. The gzip asset counts do not depend on host load. ## Follow-up Review the shortcut registry's shared hot-path bundle cost. Reduce the Settings bundle while keeping one source of truth for shortcut bindings and synchronous first-key matching. Record the updated production bundle against the same baseline.
Sign in to join this conversation.
No labels
No milestone
No project
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#556
No description provided.