Commit Graph
3 Commits
Author SHA1 Message Date
4grayandClaude Fable 5.1 5cb69b1ec1 fix(performance): count each initial request URL and soften the CI wording
Deduplicate initial resources by request URL rather than by file, so a
file referenced twice with different query strings is counted twice, as
the browser fetches it; fragments are still ignored. Each resource now
carries both its file path and its request URL.

Describe the CI ratchet as the goal of the loop rather than as existing
enforcement until the baseline and job PRs merge.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-26 10:29:36 +02:00
4grayandClaude Fable 5.1 3cd032510e test(performance): drop unused destructured names in the missing-chunk case
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-26 08:01:15 +02:00
4grayandClaude Fable 5.1 bebd4d3049 chore(performance): measure initial bytes of the built web app
Add tools/performance/measure-initial-bytes.mjs, which reads the built
dist/apps/web/index.html and sums index.html plus every same-origin
script, stylesheet and modulepreload chunk it references. The value is
the J1 ("launch to usable") counter renderer.initialBytes and matches
the "Initial total" line of the Angular build output. Missing referenced
files fail the measurement instead of counting as zero bytes.

The script has node --test coverage over synthetic build output, its own
Nx project (performance-tools, Tier B in the coverage policy), root
scripts perf:initial-bytes / perf:tools:test, and a new
docs/architecture/performance-journeys.md contract linked from the
validation map, the context map and the README.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-26 07:58:19 +02:00