Files
jobtrackingapp/docs/performance/landing-previews/QUALIFICATION.md
T
2026-11-20 13:56:39 +01:00

3.8 KiB
Raw Blame History

Public landing preview measurements

The landing page now reserves the space occupied by its three 1440 × 900 SVG previews while the files are in flight. The dashboard preview begins within the first viewport on desktop and tablet and keeps its default eager load. The two subsequent previews use the browser’s native lazy loading. All three retain their original files, order and translated alternative text.

Local browser results

Each row covers two cold Chromium 151.0.7922.34 contexts, English/light and Norwegian Bokmål/dark. The probe served the real static exports on loopback with synthetic signed-out authentication responses. It held the SVG response bodies until it could measure their pending layout. The displacement column measures the change in the last preview’s bottom edge in CSS pixels between pending and decoded states. The request and byte columns cover the three previews and the favicon only. The server served these assets uncompressed.

Viewport Preview displacement before → after Initial asset requests before → after Initial body bytes before → after
1440 × 900 1,132 → 0 4 → 4 28,397 → 28,397
768 × 1024 1,346 → 0 4 → 4 28,397 → 28,397
390 × 844 668 → 0 4 → 4 28,397 → 28,397
320 × 568 537 → 0 4 → 4 28,397 → 28,397
844 × 390 1,488 → 0 4 → 3 28,397 → 18,036

All ten comparisons retained the exact settled top, width, height and alternative text of each image. Chromium loaded the 10,361-byte workspace preview on scroll in both landscape-phone samples. Scrolling through the page decoded every image once per sample. In the other eight samples Chromium prefetched the secondary images before scrolling.

Every cold context requested the 1,017-byte SVG favicon. Requests for the ICO, manifest and PWA PNGs totaled zero in this navigation sample. Those assets remain available for other browser and install flows. Browser prefetch distances can vary. Production latency, field Core Web Vitals, other browser engines, physical devices and the future launch design remain open.

Reproduction and verification

From an installed job-tracker-ui checkout, run node ../docs/performance/landing-previews/measure.mjs <static-export-directory> for each build. The JSON output includes pending and settled image rectangles, local request paths, response-body sizes and the browser version. The probe checks the document language, successful image decoding, accessible labels and absence of unexpected application requests or errors. The paired receipts are before and after.

  • Application source baseline 245f2feaa8bee2db8f5da0797b3e33f6ef8b056e. The baseline export resided at checkout 171e616b. Git reported an empty job-tracker-ui diff between those commits. Baseline index SHA-256 31dfd9b2d2e7ea7d9e696b5485d24d7b8daf0b1e078e6539e94a04955b8ff1f8.
  • Candidate landing component blob a73053174690588c5764f09683d5cabb0fe270e8. Candidate index SHA-256 8a8c1121f8a54fad47b91348346ca483bc0e4c06bd1211c85de525931a9d46d8. Both checkouts used lockfile SHA-256 1f718d8faa55f5e540d3d7886a51dd19b02b916b6cb23a462ae229e388d7ab98.
  • The new regression check caught missing native width and height attributes on the first implementation with MUI Box. The final native images passed. Three suites passed 41 tests covering landing content, language, auth redirect and public auth presentation. Scoped ESLint passed. The ordinary Next 16.4.6 production build passed TypeScript checking and static export.
  • PERF-04 and PERF-15 remain partial. Launch image selection and rights, install-specific devices, other app routes and deployed delivery require their own evidence. A revert of this application change restores the previous eager previews and loading geometry.