Budgets: lines at measured sizes for port/notes-float 47f4dda82 #1145

Closed
kayg wants to merge 0 commits from port/notes-float-budgets into port/notes-float
Owner

perf/budgets.json only. perf/web.sh --bundle-only --gate on dev-01 at 47f4dda82 had 13 lines over (index 231.88 -> 232.000 from #1144 wash-ink; the rest is hashed-import jitter). Lines set to the measured size (+0.001 where the 3-decimal table rounds below the exact value); total_js_brotli = sum of chunk lines (586.786). first_js_brotli measured 232.000, line 240 untouched. Re-run after the change: exit 0, no over-budget lines.

Pre-release check evidence follows in comments.

🤖 Generated with Claude Code

perf/budgets.json only. `perf/web.sh --bundle-only --gate` on dev-01 at 47f4dda82 had 13 lines over (index 231.88 -> 232.000 from #1144 wash-ink; the rest is hashed-import jitter). Lines set to the measured size (+0.001 where the 3-decimal table rounds below the exact value); total_js_brotli = sum of chunk lines (586.786). first_js_brotli measured 232.000, line 240 untouched. Re-run after the change: exit 0, no over-budget lines. Pre-release check evidence follows in comments. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Budgets: round lines up past the exact measured value
Some checks failed
CI / server (pull_request) Has been cancelled
CI / rust (pull_request) Has been cancelled
CI / web (pull_request) Has been cancelled
Markdown extraction contract / markdown-native-contract (pull_request) Has been cancelled
Markdown extraction contract / markdown-editor-contract (pull_request) Has been cancelled
ca88de135a
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Author
Owner

Pre-release checks on port/notes-float @ 47f4dda82 (test lane, 14 Nov night)

1. Budgets

perf/web.sh --bundle-only --gate on dev-01: 13 lines over. index 231.88 -> 232.000 (+0.12, wash-ink); the rest hash jitter. Lines set to measured (+0.001 where the 3-decimal table rounds below the exact value; my first pass without it still failed 10 lines). Re-run on this PR head: exit 0, first_js_brotli 232.000 (line 240), total 585.195 vs line 586.786 (= sum of chunk lines).

2. Blocker reruns (server binary built from 47f4dda82; same head for the dist)

  • vim-block, contacts-list, notes-float-phone, app-switch, phone-foot with --project=<b>-1440|390 --workers=1: chromium-1440 17 passed/8 skipped, chromium-390 12 passed/13 skipped (dev-01); webkit-1440 17 passed/8 skipped, webkit-390 12 passed/13 skipped (dev-02). 0 failed.
  • admin-sharing (admin--1440 and -390 projects): chromium 15 passed/2 skipped (dev-01), webkit 15 passed/2 skipped (dev-02). 0 failed.
  • contrast :66 and :268 via a throwaway config outside the repo (dependencies emptied, webServer cwd set): contrast-1440 project: 3 passed (:66; :268 at 1440 and at 390 wide, the test sets its own width). The contrast-390 project run skipped those 3 (width-gated), so no extra coverage there. (First attempts failed only on my config: ESM/cwd.)

3. Shots (real Safari, macos-01, 1440; lock taken atomically, Safari + safaridriver quit, lock released)

All notes list, dark over a day sky, a dawn sky, a photo backdrop, and light day for comparison (seeded 40 notes). Wash ink reads fine on all four.

iPhone 18 Pro sim iOS 27.0 (own sim, deleted): phone first screen. Note: simctl ui appearance dark only darkens Safari's chrome; the app stayed light (it follows its own theme setting, not the system), so the "dark" shot is not a dark-theme shot. I did not have time to drive ?theme=dark on the phone; flag for the morning.

mac-dark-dawn.png

mac-dark-dawn.png

mac-dark-day.png

mac-dark-day.png

mac-dark-photo.png

mac-dark-photo.png

mac-light-day.png

mac-light-day.png

phone-dark.png

phone-dark.png

phone-light.png

phone-light.png

Phone first paint (navigation start -> first-contentful-paint), iOS Safari sim, cold origin per load (own hostname each), 5 loads each, ABAB-ish order

Served from dev-01 through a tunnel (sim -> std -> hd01 -> dev-01) via a small proxy that injects one probe <script src> into the HTML (same for both); server binary the same, only the dist differs (6a3ef2e83 vs 47f4dda82). Cold-load FCP, ms:

  • pre-trim 6a3ef2e83: 2048, 1865, 1699, 1799, 1712 (median 1799, mean 1825)
  • head 47f4dda82: 2779, 2182, 2140, 2059, 2028 (median 2140, mean 2238; 2128 mean without the first load)

Head is slower, ~+340 ms median (~19 %), every head load slower than the median pre-trim load. It fits the trim's known cost (PhoneStack fetched before the first frame = an extra round trip), and this tunnel has a large RTT, so the real-world number on a fast link will be smaller, but it is not neutral. Caveat: one tunnel session, five samples, no perf-VM comparator; treat it as a direction, not a gate. Suggest preloading the PhoneStack chunk (modulepreload in index.html for phones) or reverting the split for phones.

Cleanup done: units, servers, sims, std/Mac work dirs, targets.

🤖 Generated with Claude Code

## Pre-release checks on `port/notes-float` @ 47f4dda82 (test lane, 14 Nov night) ### 1. Budgets `perf/web.sh --bundle-only --gate` on dev-01: 13 lines over. index 231.88 -> 232.000 (+0.12, wash-ink); the rest hash jitter. Lines set to measured (+0.001 where the 3-decimal table rounds below the exact value; my first pass without it still failed 10 lines). Re-run on this PR head: **exit 0**, first_js_brotli 232.000 (line 240), total 585.195 vs line 586.786 (= sum of chunk lines). ### 2. Blocker reruns (server binary built from 47f4dda82; same head for the dist) - `vim-block, contacts-list, notes-float-phone, app-switch, phone-foot` with `--project=<b>-1440|390 --workers=1`: chromium-1440 17 passed/8 skipped, chromium-390 12 passed/13 skipped (dev-01); webkit-1440 17 passed/8 skipped, webkit-390 12 passed/13 skipped (dev-02). **0 failed.** - `admin-sharing` (admin-<b>-1440 and -390 projects): chromium 15 passed/2 skipped (dev-01), webkit 15 passed/2 skipped (dev-02). **0 failed.** - `contrast` `:66` and `:268` via a throwaway config outside the repo (dependencies emptied, webServer cwd set): `contrast-1440` project: **3 passed** (:66; :268 at 1440 and at 390 wide, the test sets its own width). The `contrast-390` project run skipped those 3 (width-gated), so no extra coverage there. (First attempts failed only on my config: ESM/cwd.) ### 3. Shots (real Safari, macos-01, 1440; lock taken atomically, Safari + safaridriver quit, lock released) All notes list, dark over a day sky, a dawn sky, a photo backdrop, and light day for comparison (seeded 40 notes). Wash ink reads fine on all four. iPhone 18 Pro sim iOS 27.0 (own sim, deleted): phone first screen. Note: `simctl ui appearance dark` only darkens Safari's chrome; the app stayed light (it follows its own theme setting, not the system), so the "dark" shot is not a dark-theme shot. I did not have time to drive `?theme=dark` on the phone; flag for the morning. **mac-dark-dawn.png** ![mac-dark-dawn.png](https://git.kayg.org/attachments/63283617-c7e1-44e9-8d1f-1b4c3b71b764) **mac-dark-day.png** ![mac-dark-day.png](https://git.kayg.org/attachments/64cb6910-f0ff-4fcc-8e6e-64bd40b4d62f) **mac-dark-photo.png** ![mac-dark-photo.png](https://git.kayg.org/attachments/904d79b2-161d-408b-a0e8-e69ad09a2110) **mac-light-day.png** ![mac-light-day.png](https://git.kayg.org/attachments/8f50b70e-4764-40fe-8090-98242db03fb8) **phone-dark.png** ![phone-dark.png](https://git.kayg.org/attachments/e0b9b9ef-2581-4092-addd-69fb6ccbeec2) **phone-light.png** ![phone-light.png](https://git.kayg.org/attachments/a2434b16-6084-4337-aba8-289cfa75b114) ### Phone first paint (navigation start -> first-contentful-paint), iOS Safari sim, cold origin per load (own hostname each), 5 loads each, ABAB-ish order Served from dev-01 through a tunnel (sim -> std -> hd01 -> dev-01) via a small proxy that injects one probe `<script src>` into the HTML (same for both); server binary the same, only the dist differs (6a3ef2e83 vs 47f4dda82). Cold-load FCP, ms: - pre-trim 6a3ef2e83: 2048, 1865, 1699, 1799, 1712 (median **1799**, mean 1825) - head 47f4dda82: 2779, 2182, 2140, 2059, 2028 (median **2140**, mean 2238; 2128 mean without the first load) **Head is slower, ~+340 ms median (~19 %), every head load slower than the median pre-trim load.** It fits the trim's known cost (PhoneStack fetched before the first frame = an extra round trip), and this tunnel has a large RTT, so the real-world number on a fast link will be smaller, but it is not neutral. Caveat: one tunnel session, five samples, no perf-VM comparator; treat it as a direction, not a gate. Suggest preloading the PhoneStack chunk (modulepreload in index.html for phones) or reverting the split for phones. Cleanup done: units, servers, sims, std/Mac work dirs, targets. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Author
Owner

Merged into port/notes-float with --no-ff by the orchestrator (budget lines only). The phone first-paint regression (+340 ms median in the sim) blocks the release; a fix lane is on it. Closing.

Merged into `port/notes-float` with `--no-ff` by the orchestrator (budget lines only). The phone first-paint regression (+340 ms median in the sim) blocks the release; a fix lane is on it. Closing.
kayg closed this pull request 2026-11-15 00:34:47 +00:00
Some checks failed
CI / server (pull_request) Has been cancelled
CI / rust (pull_request) Has been cancelled
CI / web (pull_request) Has been cancelled
Markdown extraction contract / markdown-native-contract (pull_request) Has been cancelled
Markdown extraction contract / markdown-editor-contract (pull_request) Has been cancelled

Pull request closed

Sign in to join this conversation.
No reviewers
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!1145
No description provided.