1.18.0 performance items: tests, the reference budget gate tightened (JS 195 kB, 404 without its exception, TTL check), docs (performance.md, AGENT.md, iapl-performance, module pages, api.md), changelog: what changes for an existing site

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
Radosław Smoliński
2026-12-01 15:54:15 +01:00
co-authored by Claude Opus 5.5
parent d628839235
commit f0127ac1b8
35 changed files with 1154 additions and 288 deletions
+35 -41
View File
@@ -73,6 +73,22 @@ less JS and nothing new blocks: Turbopack splits the client chunks differently o
client boundary, and on that line the order of downloads moves the stylesheet a little. The fonts are the bigger
lever (decision 2 below: −36 to −52 ms).
### The owner's items (second branch, from main 076b3ef): before → after, median of 3
| | webpack | Turbopack |
|---|---|---|
| JS per page without a form (compressed) | 188.1 → 179.3 KB | 181.6 → 175.5 KB |
| JS on a page with a form (the form's chunk loads there) | 188.1 → 187.7 KB | 181.6 → 183.6 KB |
| JS on the showcase (every block) | 216.4 → 218.7 KB | 209.9 → 214.0 KB |
| LCP phone, pages | 796–848 → 740–776 ms | 820–868 → 780–820 ms |
| LCP desktop, pages | 280–304 → 272–288 ms | 288–308 → 276–292 ms |
| 404 phone: LCP / CLS | 2.52 s / 0.319 → 1.84 s / 0 | 2.31 s / 0.319 → 1.72 s / 0 |
| CLS home (the headings swap to their font) | 0.036 → 0.036 | 0 → 0.036 |
| Queries per render | unchanged (19–27) | unchanged |
Raw: `webpack-1180-before.json`, `webpack-1180-after.json`, `turbopack-1180-after.json` (Turbopack "before" =
`turbopack-after.json` of the first branch).
## Audit — what the plugin does, file and line, and the gain of each fix
Sources: web.dev (vitals, optimize-lcp, cls, optimize-inp, font-best-practices, animations-guide,
@@ -109,37 +125,18 @@ conversion (metadata dropped); `YouTubeEmbed` is a facade; Meta, LinkedIn, TikTo
the proxy does no database work; the 434 KB cookie database is loaded only by a scan; the sitemap has `select` and a
300 s memo.
### For the owner — yes / no (gain and cost)
1. **Lazy 404 content (CLS 0.32, LCP 2.5 s on a phone).** The 404 is fetched by a server action after hydration
so that every page's payload does not carry it (pages.md). Options: (a) keep, and have the reference site set a
`placeholder` of its 404 height — CLS → 0, LCP unchanged, a number to keep in sync with the content; (b) render
the 404 eagerly — LCP and CLS as any page, but every page's HTML grows by the 404 content in every language
(pages.md: a two-language home page as the 404 made a page 195 KB gzip instead of 146 KB). Recommendation (a).
2. **Fonts: 209.5 KB, four preloaded files** (Inter + Fraunces, latin + latin-ext). Each variable family has two
subset files. Measured (Turbopack, phone, median of 5): Fraunces with `preload: false` → first paint and LCP
−36 to −52 ms on home, page and post; the same 209 KB still downloads (the headings use it), and the home page's
CLS goes from 0 to 0.036 (the headings swap, < 0.1). One family instead of two would save ~70 KB as well. A design
decision for the reference site and the starter default. Recommendation: `preload: false` on the heading font.
3. **Form code on every page (≈ 10 KB compressed).** The catch-all route renders any block, so the contact form's
client code (BuilderForm, Turnstile provider) is in every page's bundle. A `lazy()` wrapper would load it only on
pages with a form; SSR stays complete. Gain −10 KB on most pages; cost: a hydration wait on the form, test effort
with both bundlers. Recommendation: yes, next release.
4. **Background video and reduced motion.** `Media` (a server component) cannot know the visitor's setting, so a
background video autoplays for everyone (`block-library/ui/Media.tsx:29`). A small client wrapper pausing it with
`prefers-reduced-motion` adds ~1 KB to pages with a video. Recommendation: yes.
5. **Consent Mode `basic` as the default** (no request to Google before consent; already pending as a security
decision). Speed gain on a first visit with GA/GTM set: one third-party origin and ~100 KB of tag less until consent.
6. **Card hover animates `box-shadow`** (`block-library/ui/Card.tsx:6`, a paint per frame, cheap on cards). A
pseudo-element with `opacity` would be compositor-only; the hover looks the same. Low gain; yes if the block
library is touched anyway.
7. **Upload variants (`imageSizes`) and metadata on originals.** next/image already resizes and converts on request,
so stored variants mostly help the lightbox `srcSet` and R2 egress; originals under the 1.5 MB limit keep their
EXIF (camera, possibly GPS). Stripping metadata on every upload re-encodes the original. Recommendation: strip
metadata on upload for JPEG/PNG (privacy more than speed), variants no.
8. **Doctor performance rules: warnings now, errors later?** In 1.18.0 they warn (as asked); `perf-live`
uncompressed HTML and `perf-images` could become errors in 1.19.0.
### The owner's decisions (2026-12-01) — all in 1.18.0
| # | Item | Decision | What was built (measured on the reference site) |
|---|---|---|---|
| 1 | Lazy 404 moves the footer (CLS 0.319, LCP 2.5 s on a phone) | yes (a) | the reference `not-found.tsx` passes a `placeholder` of its content's height (`max(290px, calc(212px + 11.5vw))`, measured 360–1920 px): CLS 0.319 → 0, LCP 2.52 → 1.90 s |
| 2 | Heading font preloaded (four font files compete with the stylesheet) | yes | `preload: false` on Fraunces in the reference layout, and so in every new site (`iapl create` keeps the call's options): phone LCP −36 to −52 ms; home CLS stays 0.036 |
| 3 | Form code on every page | yes | `BuilderForm` / `Turnstile` from `/client` are lazy wrappers (same props; the server renders the whole form); the hooks behind them lost a needless `'use client'` (each was a client boundary the entry shipped); eager ones in `@intecion/ipal-kit/client/eager`, `RenderForm Form={…}`: −8.8 KB (webpack) / −6.1 KB (Turbopack) gzip on every page without a form; a form page loads the form's chunk as before. Found on the way: the Turnstile widget (72.6 px) appeared in an empty box and moved the form — its height is now kept (73 px, `turnstileReserveHeight`) |
| 4 | Background video ignores reduced motion | yes | `BackgroundVideo` (client) pauses it after hydration for `prefers-reduced-motion`, follows a change; `Media pauseForReducedMotion={false}` |
| 5 | Consent Mode `basic` as default | **no** (stays `advanced`) | — |
| 6 | Card hover animates `box-shadow` | yes | an `::after` shadow layer fades with `opacity`; `CARD_INTERACTIVE_SHADOW_CLASS` = the 1.17 class |
| 7 | Metadata on uploads | yes, no stored variants | lossless strip of JPEG APP1/APP13/COM and PNG text/eXIf/tIME (pixels and ICC byte for byte), EXIF rotation applied once; `stripMetadata: false` |
| 8 | Doctor warnings → errors | **open** (warnings stay) | — |
## Growth review (owner's addition, 2026-12-01): what swells the site and its database
Measured on the reference site (MongoDB 7) after the full reference suite as traffic: 15 collections, the largest
@@ -163,18 +160,15 @@ retention; 1 of 17 media unused — `logo-example-studio-1.webp`, a duplicate lo
Postgres / SQLite: the same purges through Drizzle's `deleteMany`; no TTL indexes; sizes not read (counts only).
### Growth — for the owner (yes / no)
### Growth — the owner's decisions (2026-12-01)
9. **A default retention for form submissions** (e.g. 365 days) on every site, existing ones included. Deletes
data on live sites on their next submission. Recommendation: no default; the agent asks the client
(`submissionRetentionDays`) and the doctor reports sites without one — or yes with 730 days and a loud upgrade note.
10. **MongoDB TTL indexes** for the consent log and statistics (expire `createdAt` / `lastAt` after the retention),
so the purge runs even when no new record comes. Same records deleted as today, sooner on a quiet site; one index
build per site at start. Recommendation: yes for 1.19.0 (opt-out), Mongo only.
11. **Delete `gone` cookie-review rows after a year.** Deletes the scanner's history. Recommendation: no.
12. **A media clean-up action in the panel** (list the unused media, delete after confirmation). Recommendation:
yes, as a panel view — never automatic.
13. **`maxPerDoc: 20`** in the reference and the starter wherever versions get turned on (none today). Recommendation: yes (no data deleted until a document is saved again).
| # | Item | Decision | What was built |
|---|---|---|---|
| 9 | A default retention for form submissions | **no** | the opt-in `forms.submissionRetentionDays` stays; the doctor reports sites without one |
| 10 | MongoDB TTL indexes for the consent log and statistics | yes | `iapl_ttl` on a hidden `iaplTtlFrom` (Payload's own `createdAt` index cannot become a TTL one: Mongoose recreates it at every start — tested, IndexOptionsConflict); backfilled once from `createdAt` / `lastAt`, kept at the current `retentionDays` by `collMod` at every start; `ttlIndex: false` drops it; Postgres / SQLite unchanged. Checked in the reference gate against the real database |
| 11 | Delete `gone` cookie-review rows | **no** | — |
| 12 | Review and delete unused media in the panel | yes, manual, optional | `iapl({ unusedMedia: true })`: a notice above each upload list with a link to Payload's list filtered to the unused files (by id or by file name in a text; nothing listed when the site is too big to check every document there); deleting is Payload's bulk delete. Off by default (it adds an import-map entry); the reference site has it on; e2e `unused-media.spec.ts` |
| 13 | `maxPerDoc: 20` where versions are on | yes | the plugin's collections and globals whose versions a project turns on get 20 unless the project sets a limit; the doctor's `growth-versions-config` hints the project's own collections. Neither the plugin nor the reference site turns versions on |
### Shared with IAWL
+770
View File
@@ -0,0 +1,770 @@
{
"client": {
"mobile": {
"home": {
"bytes": {
"css": 12161,
"font": 209501,
"html": 19936,
"image": 9544,
"js": 175539,
"other": 0
},
"cls": 0.036,
"fcp": 812,
"inp": 40,
"interaction": "PL",
"lcp": 812,
"lcpElement": {
"fetchpriority": "high",
"loading": "eager",
"src": "data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 1000'%3",
"tag": "img"
},
"load": 2365,
"prefetches": 4,
"profile": "mobile",
"renderBlocking": [
"/_next/static/chunks/3_r2-9g9f0xzb.css"
],
"requests": 22,
"scriptMs": 80,
"status": 200,
"tbt": 7,
"thirdParty": [],
"ttfb": 151,
"url": "/pl",
"runs": 3
},
"page": {
"bytes": {
"css": 12161,
"font": 209501,
"html": 17074,
"image": 8457,
"js": 175539,
"other": 0
},
"cls": 0,
"fcp": 784,
"inp": 32,
"interaction": "PL",
"lcp": 784,
"lcpElement": {
"fetchpriority": "high",
"loading": "eager",
"src": "data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 1000'%3",
"tag": "img"
},
"load": 2374,
"prefetches": 2,
"profile": "mobile",
"renderBlocking": [
"/_next/static/chunks/3_r2-9g9f0xzb.css"
],
"requests": 19,
"scriptMs": 69,
"status": 200,
"tbt": 6,
"thirdParty": [],
"ttfb": 151,
"url": "/pl/o-nas",
"runs": 3
},
"archive": {
"bytes": {
"css": 12161,
"font": 209501,
"html": 16563,
"image": 5322,
"js": 175539,
"other": 0
},
"cls": 0,
"fcp": 780,
"inp": 40,
"interaction": "PL",
"lcp": 780,
"lcpElement": {
"fetchpriority": null,
"loading": null,
"src": null,
"tag": "p"
},
"load": 2365,
"prefetches": 3,
"profile": "mobile",
"renderBlocking": [
"/_next/static/chunks/3_r2-9g9f0xzb.css"
],
"requests": 19,
"scriptMs": 75,
"status": 200,
"tbt": 5,
"thirdParty": [],
"ttfb": 151,
"url": "/pl/blog",
"runs": 3
},
"post": {
"bytes": {
"css": 12161,
"font": 209501,
"html": 17107,
"image": 5322,
"js": 175539,
"other": 0
},
"cls": 0,
"fcp": 792,
"inp": 40,
"interaction": "PL",
"lcp": 792,
"lcpElement": {
"fetchpriority": null,
"loading": null,
"src": null,
"tag": "p"
},
"load": 2381,
"prefetches": 2,
"profile": "mobile",
"renderBlocking": [
"/_next/static/chunks/3_r2-9g9f0xzb.css"
],
"requests": 19,
"scriptMs": 76,
"status": 200,
"tbt": 6,
"thirdParty": [],
"ttfb": 151,
"url": "/pl/blog/zanim-kupisz-dzialke",
"runs": 3
},
"caseStudy": {
"bytes": {
"css": 12161,
"font": 209501,
"html": 16528,
"image": 4376,
"js": 175539,
"other": 0
},
"cls": 0,
"fcp": 800,
"inp": 40,
"interaction": "PL",
"lcp": 800,
"lcpElement": {
"fetchpriority": null,
"loading": null,
"src": null,
"tag": "p"
},
"load": 2385,
"prefetches": 2,
"profile": "mobile",
"renderBlocking": [
"/_next/static/chunks/3_r2-9g9f0xzb.css"
],
"requests": 18,
"scriptMs": 78,
"status": 200,
"tbt": 8,
"thirdParty": [],
"ttfb": 151,
"url": "/pl/realizacje/dom-pod-lasem",
"runs": 3
},
"form": {
"bytes": {
"css": 12161,
"font": 209501,
"html": 16819,
"image": 0,
"js": 183565,
"other": 0
},
"cls": 0,
"fcp": 800,
"inp": 32,
"interaction": "PL",
"lcp": 800,
"lcpElement": {
"fetchpriority": null,
"loading": null,
"src": null,
"tag": "p"
},
"load": 2551,
"prefetches": 2,
"profile": "mobile",
"renderBlocking": [
"/_next/static/chunks/3_r2-9g9f0xzb.css"
],
"requests": 17,
"scriptMs": 88,
"status": 200,
"tbt": 7,
"thirdParty": [],
"ttfb": 151,
"url": "/pl/wycena",
"runs": 3
},
"showcase": {
"bytes": {
"css": 12161,
"font": 209501,
"html": 37329,
"image": 2018,
"js": 214068,
"other": 0
},
"cls": 0,
"fcp": 820,
"inp": 40,
"interaction": "PL",
"lcp": 820,
"lcpElement": {
"fetchpriority": "high",
"loading": "eager",
"src": "data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 1000'%3",
"tag": "img"
},
"load": 2384,
"prefetches": 4,
"profile": "mobile",
"renderBlocking": [
"/_next/static/chunks/3_r2-9g9f0xzb.css"
],
"requests": 23,
"scriptMs": 161,
"status": 200,
"tbt": 10,
"thirdParty": [
"https://challenges.cloudflare.com"
],
"ttfb": 151,
"url": "/pl/bloki",
"runs": 3
},
"notFound": {
"bytes": {
"css": 12161,
"font": 209501,
"html": 7740,
"image": 0,
"js": 175539,
"other": 2380
},
"cls": 0,
"fcp": 1724,
"inp": 32,
"interaction": "PL",
"lcp": 1724,
"lcpElement": {
"fetchpriority": null,
"loading": null,
"src": null,
"tag": "p"
},
"load": 2789,
"prefetches": 10,
"profile": "mobile",
"renderBlocking": [],
"requests": 17,
"scriptMs": 118,
"status": 404,
"tbt": 0,
"thirdParty": [],
"ttfb": 151,
"url": "/pl/nie-ma-takiej-strony",
"runs": 3
}
},
"desktop": {
"home": {
"bytes": {
"css": 12161,
"font": 209501,
"html": 19936,
"image": 9286,
"js": 175539,
"other": 0
},
"cls": 0.001,
"fcp": 288,
"inp": 40,
"interaction": "PL",
"lcp": 288,
"lcpElement": {
"fetchpriority": null,
"loading": null,
"src": null,
"tag": "h1"
},
"load": 464,
"prefetches": 11,
"profile": "desktop",
"renderBlocking": [
"/_next/static/chunks/3_r2-9g9f0xzb.css"
],
"requests": 22,
"scriptMs": 38,
"status": 200,
"tbt": 0,
"thirdParty": [],
"ttfb": 41,
"url": "/pl",
"runs": 3
},
"page": {
"bytes": {
"css": 12161,
"font": 209501,
"html": 17074,
"image": 10684,
"js": 175539,
"other": 0
},
"cls": 0,
"fcp": 284,
"inp": 40,
"interaction": "PL",
"lcp": 284,
"lcpElement": {
"fetchpriority": "high",
"loading": "eager",
"src": "/_next/image?url=http%3A%2F%2Flocalhost%3A3370%2Fapi%2Fmedia%2Ffile%2Flibrary-3.webp&w=750&q=75",
"tag": "img"
},
"load": 444,
"prefetches": 8,
"profile": "desktop",
"renderBlocking": [
"/_next/static/chunks/3_r2-9g9f0xzb.css"
],
"requests": 20,
"scriptMs": 18,
"status": 200,
"tbt": 0,
"thirdParty": [],
"ttfb": 41,
"url": "/pl/o-nas",
"runs": 3
},
"archive": {
"bytes": {
"css": 12161,
"font": 209501,
"html": 16563,
"image": 4815,
"js": 175539,
"other": 0
},
"cls": 0,
"fcp": 276,
"inp": 40,
"interaction": "PL",
"lcp": 276,
"lcpElement": {
"fetchpriority": null,
"loading": null,
"src": null,
"tag": "p"
},
"load": 454,
"prefetches": 11,
"profile": "desktop",
"renderBlocking": [
"/_next/static/chunks/3_r2-9g9f0xzb.css"
],
"requests": 19,
"scriptMs": 32,
"status": 200,
"tbt": 0,
"thirdParty": [],
"ttfb": 41,
"url": "/pl/blog",
"runs": 3
},
"post": {
"bytes": {
"css": 12161,
"font": 209501,
"html": 17107,
"image": 4815,
"js": 175539,
"other": 0
},
"cls": 0,
"fcp": 276,
"inp": 40,
"interaction": "PL",
"lcp": 276,
"lcpElement": {
"fetchpriority": null,
"loading": null,
"src": null,
"tag": "p"
},
"load": 437,
"prefetches": 8,
"profile": "desktop",
"renderBlocking": [
"/_next/static/chunks/3_r2-9g9f0xzb.css"
],
"requests": 19,
"scriptMs": 20,
"status": 200,
"tbt": 0,
"thirdParty": [],
"ttfb": 41,
"url": "/pl/blog/zanim-kupisz-dzialke",
"runs": 3
},
"caseStudy": {
"bytes": {
"css": 12161,
"font": 209501,
"html": 16528,
"image": 9286,
"js": 175539,
"other": 0
},
"cls": 0,
"fcp": 292,
"inp": 40,
"interaction": "PL",
"lcp": 292,
"lcpElement": {
"fetchpriority": null,
"loading": null,
"src": null,
"tag": "h1"
},
"load": 445,
"prefetches": 8,
"profile": "desktop",
"renderBlocking": [
"/_next/static/chunks/3_r2-9g9f0xzb.css"
],
"requests": 20,
"scriptMs": 19,
"status": 200,
"tbt": 0,
"thirdParty": [],
"ttfb": 41,
"url": "/pl/realizacje/dom-pod-lasem",
"runs": 3
},
"form": {
"bytes": {
"css": 12161,
"font": 209501,
"html": 16819,
"image": 0,
"js": 183565,
"other": 0
},
"cls": 0,
"fcp": 280,
"inp": 40,
"interaction": "PL",
"lcp": 280,
"lcpElement": {
"fetchpriority": null,
"loading": null,
"src": null,
"tag": "p"
},
"load": 492,
"prefetches": 8,
"profile": "desktop",
"renderBlocking": [
"/_next/static/chunks/3_r2-9g9f0xzb.css"
],
"requests": 17,
"scriptMs": 39,
"status": 200,
"tbt": 0,
"thirdParty": [],
"ttfb": 41,
"url": "/pl/wycena",
"runs": 3
},
"showcase": {
"bytes": {
"css": 12161,
"font": 209501,
"html": 37329,
"image": 5267,
"js": 214011,
"other": 0
},
"cls": 0,
"fcp": 288,
"inp": 40,
"interaction": "PL",
"lcp": 288,
"lcpElement": {
"fetchpriority": null,
"loading": null,
"src": null,
"tag": "p"
},
"load": 447,
"prefetches": 8,
"profile": "desktop",
"renderBlocking": [
"/_next/static/chunks/3_r2-9g9f0xzb.css"
],
"requests": 24,
"scriptMs": 42,
"status": 200,
"tbt": 0,
"thirdParty": [
"https://challenges.cloudflare.com"
],
"ttfb": 41,
"url": "/pl/bloki",
"runs": 3
},
"notFound": {
"bytes": {
"css": 12161,
"font": 209501,
"html": 7740,
"image": 0,
"js": 175539,
"other": 2380
},
"cls": 0,
"fcp": 392,
"inp": 40,
"interaction": "PL",
"lcp": 444,
"lcpElement": {
"fetchpriority": null,
"loading": null,
"src": null,
"tag": "h1"
},
"load": 518,
"prefetches": 14,
"profile": "desktop",
"renderBlocking": [],
"requests": 17,
"scriptMs": 34,
"status": 404,
"tbt": 0,
"thirdParty": [],
"ttfb": 41,
"url": "/pl/nie-ma-takiej-strony",
"runs": 3
}
},
"admin": {
"bytes": {
"css": 98914,
"font": 0,
"html": 24294,
"image": 0,
"js": 876299,
"other": 1690
},
"cls": 0,
"fcp": 1048,
"inp": null,
"interaction": null,
"lcp": 1048,
"lcpElement": {
"fetchpriority": null,
"loading": null,
"src": null,
"tag": "a"
},
"load": 970,
"prefetches": 0,
"profile": "desktop",
"renderBlocking": [
"/_next/static/chunks/3ebvnk7qs9043.css",
"/_next/static/chunks/1l9apu4iesvci.css",
"/_next/static/chunks/3c_6gydv624zb.css",
"/_next/static/chunks/2h0ajyj_brp--.css",
"/_next/static/chunks/3k6de-uhqm-in.css",
"/_next/static/chunks/2do7kfo662xwp.css",
"/_next/static/chunks/1z_mbvpkjhpd5.css"
],
"requests": 23,
"scriptMs": 411,
"status": 200,
"tbt": 0,
"thirdParty": [],
"ttfb": 85,
"url": "/admin/login",
"runs": 3
}
},
"date": "2026-12-01T14:43:52.891Z",
"label": "turbopack-1180-after",
"method": "scripts/perf-measure.mjs + reference/e2e/perf-lab.mjs",
"runs": 3,
"server": {
"coldStartHealthMs": 1081,
"coldStartFirstPageMs": 1101,
"firstPageMs": 18,
"ttfb_home": {
"median": 3,
"p95": 4.7
},
"ttfb_md": {
"median": 23.7,
"p95": 38.1
},
"ttfb_sitemap": {
"median": 1.6,
"p95": 2.6
},
"ttfb_llms": {
"median": 27.7,
"p95": 42.4
},
"render": {
"home": {
"medianMs": 39.6,
"queries": 24,
"queryMs": 0,
"byCollection": {
"globals": 27,
"pages": 33,
"media": 9,
"forms": 3
}
},
"page": {
"medianMs": 29.9,
"queries": 21,
"queryMs": 0,
"byCollection": {
"globals": 27,
"media": 6,
"pages": 27,
"forms": 3
}
},
"archive": {
"medianMs": 30.1,
"queries": 23,
"queryMs": 0,
"byCollection": {
"globals": 27,
"pages": 27,
"media": 6,
"forms": 3,
"posts": 6
}
},
"post": {
"medianMs": 27.9,
"queries": 26,
"queryMs": 0,
"byCollection": {
"globals": 27,
"media": 9,
"pages": 24,
"posts": 15,
"forms": 3
}
},
"caseStudy": {
"medianMs": 25.7,
"queries": 22,
"queryMs": 0,
"byCollection": {
"globals": 27,
"pages": 21,
"media": 6,
"casestudies": 9,
"forms": 3
}
},
"form": {
"medianMs": 23.7,
"queries": 19,
"queryMs": 0,
"byCollection": {
"globals": 27,
"media": 3,
"pages": 24,
"forms": 3
}
},
"showcase": {
"medianMs": 48.9,
"queries": 27,
"queryMs": 0,
"byCollection": {
"globals": 24,
"pages": 33,
"media": 12,
"forms": 6,
"posts": 6
}
},
"notFound": {
"medianMs": 31.3,
"queries": 20,
"queryMs": 0,
"byCollection": {
"globals": 27,
"pages": 27,
"media": 6
}
},
"md": {
"medianMs": 25,
"queries": 16,
"queryMs": 0,
"byCollection": {
"globals": 4,
"media": 5,
"pages": 6,
"forms": 1
}
},
"sitemap": {
"medianMs": 2,
"queries": 0,
"queryMs": 0,
"byCollection": {}
},
"llms": {
"medianMs": 40,
"queries": 22,
"queryMs": 0,
"byCollection": {
"globals": 4,
"media": 3,
"pages": 7,
"posts": 4,
"casestudies": 4
}
},
"llmsFull": {
"medianMs": 58,
"queries": 38,
"queryMs": 0,
"byCollection": {
"globals": 6,
"media": 9,
"pages": 13,
"forms": 2,
"posts": 4,
"casestudies": 4
}
}
},
"rssMiB": 472
}
}
+153 -153
View File
@@ -5,14 +5,14 @@
"bytes": {
"css": 11177,
"font": 209501,
"html": 19948,
"html": 19887,
"image": 9544,
"js": 188341,
"js": 179297,
"other": 0
},
"cls": 0.036,
"fcp": 768,
"inp": 32,
"inp": 40,
"interaction": "PL",
"lcp": 768,
"lcpElement": {
@@ -21,16 +21,16 @@
"src": "data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 1000'%3",
"tag": "img"
},
"load": 2432,
"load": 2374,
"prefetches": 4,
"profile": "mobile",
"renderBlocking": [
"/_next/static/css/b2d8ea1877879cf5.css"
],
"requests": 22,
"scriptMs": 126,
"requests": 21,
"scriptMs": 132,
"status": 200,
"tbt": 14,
"tbt": 20,
"thirdParty": [],
"ttfb": 151,
"url": "/pl",
@@ -40,32 +40,32 @@
"bytes": {
"css": 11177,
"font": 209501,
"html": 17081,
"html": 17027,
"image": 8457,
"js": 188341,
"js": 179297,
"other": 0
},
"cls": 0,
"fcp": 756,
"inp": 32,
"fcp": 752,
"inp": 40,
"interaction": "PL",
"lcp": 756,
"lcp": 752,
"lcpElement": {
"fetchpriority": "high",
"loading": "eager",
"src": "data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 1000'%3",
"tag": "img"
},
"load": 2435,
"load": 2373,
"prefetches": 2,
"profile": "mobile",
"renderBlocking": [
"/_next/static/css/b2d8ea1877879cf5.css"
],
"requests": 19,
"scriptMs": 126,
"requests": 18,
"scriptMs": 125,
"status": 200,
"tbt": 12,
"tbt": 21,
"thirdParty": [],
"ttfb": 151,
"url": "/pl/o-nas",
@@ -75,9 +75,9 @@
"bytes": {
"css": 11177,
"font": 209501,
"html": 16640,
"html": 16588,
"image": 5322,
"js": 188341,
"js": 179297,
"other": 0
},
"cls": 0,
@@ -91,16 +91,16 @@
"src": null,
"tag": "p"
},
"load": 2437,
"load": 2378,
"prefetches": 3,
"profile": "mobile",
"renderBlocking": [
"/_next/static/css/b2d8ea1877879cf5.css"
],
"requests": 19,
"scriptMs": 130,
"requests": 18,
"scriptMs": 126,
"status": 200,
"tbt": 14,
"tbt": 20,
"thirdParty": [],
"ttfb": 151,
"url": "/pl/blog",
@@ -110,32 +110,32 @@
"bytes": {
"css": 11177,
"font": 209501,
"html": 17135,
"html": 17071,
"image": 5322,
"js": 188341,
"js": 179297,
"other": 0
},
"cls": 0,
"fcp": 752,
"fcp": 744,
"inp": 40,
"interaction": "PL",
"lcp": 752,
"lcp": 744,
"lcpElement": {
"fetchpriority": null,
"loading": null,
"src": null,
"tag": "p"
},
"load": 2435,
"load": 2374,
"prefetches": 2,
"profile": "mobile",
"renderBlocking": [
"/_next/static/css/b2d8ea1877879cf5.css"
],
"requests": 19,
"scriptMs": 137,
"requests": 18,
"scriptMs": 121,
"status": 200,
"tbt": 15,
"tbt": 21,
"thirdParty": [],
"ttfb": 151,
"url": "/pl/blog/zanim-kupisz-dzialke",
@@ -145,9 +145,9 @@
"bytes": {
"css": 11177,
"font": 209501,
"html": 16540,
"html": 16486,
"image": 4376,
"js": 188341,
"js": 179297,
"other": 0
},
"cls": 0,
@@ -161,16 +161,16 @@
"src": null,
"tag": "p"
},
"load": 2442,
"load": 2373,
"prefetches": 2,
"profile": "mobile",
"renderBlocking": [
"/_next/static/css/b2d8ea1877879cf5.css"
],
"requests": 18,
"scriptMs": 129,
"requests": 17,
"scriptMs": 119,
"status": 200,
"tbt": 15,
"tbt": 19,
"thirdParty": [],
"ttfb": 151,
"url": "/pl/realizacje/dom-pod-lasem",
@@ -180,14 +180,14 @@
"bytes": {
"css": 11177,
"font": 209501,
"html": 16793,
"html": 16753,
"image": 0,
"js": 188341,
"js": 187749,
"other": 0
},
"cls": 0,
"fcp": 776,
"inp": 40,
"inp": 32,
"interaction": "PL",
"lcp": 776,
"lcpElement": {
@@ -196,16 +196,16 @@
"src": null,
"tag": "p"
},
"load": 2380,
"load": 2565,
"prefetches": 2,
"profile": "mobile",
"renderBlocking": [
"/_next/static/css/b2d8ea1877879cf5.css"
],
"requests": 16,
"scriptMs": 215,
"scriptMs": 151,
"status": 200,
"tbt": 13,
"tbt": 15,
"thirdParty": [],
"ttfb": 151,
"url": "/pl/wycena",
@@ -215,32 +215,32 @@
"bytes": {
"css": 11177,
"font": 209501,
"html": 37303,
"html": 37304,
"image": 2018,
"js": 216609,
"js": 218738,
"other": 0
},
"cls": 0,
"fcp": 768,
"fcp": 760,
"inp": 40,
"interaction": "PL",
"lcp": 768,
"lcp": 760,
"lcpElement": {
"fetchpriority": "high",
"loading": "eager",
"src": "data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 1000'%3",
"tag": "img"
},
"load": 2459,
"load": 2415,
"prefetches": 4,
"profile": "mobile",
"renderBlocking": [
"/_next/static/css/b2d8ea1877879cf5.css"
],
"requests": 21,
"scriptMs": 205,
"requests": 22,
"scriptMs": 213,
"status": 200,
"tbt": 21,
"tbt": 23,
"thirdParty": [
"https://challenges.cloudflare.com"
],
@@ -252,28 +252,28 @@
"bytes": {
"css": 11177,
"font": 209501,
"html": 7711,
"html": 7677,
"image": 0,
"js": 188341,
"other": 2472
"js": 179297,
"other": 2450
},
"cls": 0,
"fcp": 1900,
"inp": 40,
"fcp": 1836,
"inp": 32,
"interaction": "PL",
"lcp": 1900,
"lcp": 1836,
"lcpElement": {
"fetchpriority": null,
"loading": null,
"src": null,
"tag": "p"
},
"load": 2845,
"load": 2802,
"prefetches": 10,
"profile": "mobile",
"renderBlocking": [],
"requests": 17,
"scriptMs": 172,
"requests": 16,
"scriptMs": 167,
"status": 404,
"tbt": 0,
"thirdParty": [],
@@ -287,30 +287,30 @@
"bytes": {
"css": 11177,
"font": 209501,
"html": 19948,
"html": 19887,
"image": 9286,
"js": 188341,
"js": 179297,
"other": 0
},
"cls": 0.001,
"fcp": 284,
"fcp": 280,
"inp": 40,
"interaction": "PL",
"lcp": 284,
"lcp": 280,
"lcpElement": {
"fetchpriority": null,
"loading": null,
"src": null,
"tag": "h1"
},
"load": 477,
"load": 463,
"prefetches": 11,
"profile": "desktop",
"renderBlocking": [
"/_next/static/css/b2d8ea1877879cf5.css"
],
"requests": 22,
"scriptMs": 51,
"requests": 21,
"scriptMs": 45,
"status": 200,
"tbt": 0,
"thirdParty": [],
@@ -322,30 +322,30 @@
"bytes": {
"css": 11177,
"font": 209501,
"html": 17081,
"html": 17027,
"image": 10684,
"js": 188341,
"js": 179297,
"other": 0
},
"cls": 0,
"fcp": 284,
"fcp": 276,
"inp": 40,
"interaction": "PL",
"lcp": 284,
"lcp": 276,
"lcpElement": {
"fetchpriority": "high",
"loading": "eager",
"src": "/_next/image?url=http%3A%2F%2Flocalhost%3A3370%2Fapi%2Fmedia%2Ffile%2Flibrary-2.webp&w=750&q=75",
"src": "/_next/image?url=http%3A%2F%2Flocalhost%3A3370%2Fapi%2Fmedia%2Ffile%2Flibrary-3.webp&w=750&q=75",
"tag": "img"
},
"load": 476,
"load": 444,
"prefetches": 8,
"profile": "desktop",
"renderBlocking": [
"/_next/static/css/b2d8ea1877879cf5.css"
],
"requests": 20,
"scriptMs": 47,
"requests": 19,
"scriptMs": 28,
"status": 200,
"tbt": 0,
"thirdParty": [],
@@ -357,30 +357,30 @@
"bytes": {
"css": 11177,
"font": 209501,
"html": 16640,
"html": 16588,
"image": 4815,
"js": 188341,
"js": 179297,
"other": 0
},
"cls": 0,
"fcp": 284,
"fcp": 272,
"inp": 40,
"interaction": "PL",
"lcp": 284,
"lcp": 272,
"lcpElement": {
"fetchpriority": null,
"loading": null,
"src": null,
"tag": "p"
},
"load": 469,
"load": 456,
"prefetches": 11,
"profile": "desktop",
"renderBlocking": [
"/_next/static/css/b2d8ea1877879cf5.css"
],
"requests": 19,
"scriptMs": 51,
"requests": 18,
"scriptMs": 43,
"status": 200,
"tbt": 0,
"thirdParty": [],
@@ -392,9 +392,9 @@
"bytes": {
"css": 11177,
"font": 209501,
"html": 17135,
"html": 17071,
"image": 4815,
"js": 188341,
"js": 179297,
"other": 0
},
"cls": 0,
@@ -408,14 +408,14 @@
"src": null,
"tag": "p"
},
"load": 472,
"load": 441,
"prefetches": 8,
"profile": "desktop",
"renderBlocking": [
"/_next/static/css/b2d8ea1877879cf5.css"
],
"requests": 19,
"scriptMs": 46,
"requests": 18,
"scriptMs": 30,
"status": 200,
"tbt": 0,
"thirdParty": [],
@@ -427,30 +427,30 @@
"bytes": {
"css": 11177,
"font": 209501,
"html": 16540,
"html": 16486,
"image": 9286,
"js": 188341,
"js": 179297,
"other": 0
},
"cls": 0,
"fcp": 292,
"fcp": 288,
"inp": 40,
"interaction": "PL",
"lcp": 292,
"lcp": 288,
"lcpElement": {
"fetchpriority": null,
"loading": null,
"src": null,
"tag": "h1"
},
"load": 471,
"load": 453,
"prefetches": 8,
"profile": "desktop",
"renderBlocking": [
"/_next/static/css/b2d8ea1877879cf5.css"
],
"requests": 20,
"scriptMs": 40,
"requests": 19,
"scriptMs": 31,
"status": 200,
"tbt": 0,
"thirdParty": [],
@@ -462,30 +462,30 @@
"bytes": {
"css": 11177,
"font": 209501,
"html": 16793,
"html": 16753,
"image": 0,
"js": 188341,
"js": 187749,
"other": 0
},
"cls": 0,
"fcp": 280,
"fcp": 284,
"inp": 40,
"interaction": "PL",
"lcp": 280,
"lcp": 284,
"lcpElement": {
"fetchpriority": null,
"loading": null,
"src": null,
"tag": "p"
},
"load": 439,
"load": 438,
"prefetches": 8,
"profile": "desktop",
"renderBlocking": [
"/_next/static/css/b2d8ea1877879cf5.css"
],
"requests": 16,
"scriptMs": 51,
"scriptMs": 47,
"status": 200,
"tbt": 0,
"thirdParty": [],
@@ -497,30 +497,30 @@
"bytes": {
"css": 11177,
"font": 209501,
"html": 37303,
"html": 37304,
"image": 5267,
"js": 216587,
"js": 218795,
"other": 0
},
"cls": 0,
"fcp": 304,
"fcp": 288,
"inp": 40,
"interaction": "PL",
"lcp": 304,
"lcp": 288,
"lcpElement": {
"fetchpriority": null,
"loading": null,
"src": null,
"tag": "p"
},
"load": 493,
"load": 452,
"prefetches": 8,
"profile": "desktop",
"renderBlocking": [
"/_next/static/css/b2d8ea1877879cf5.css"
],
"requests": 22,
"scriptMs": 60,
"requests": 23,
"scriptMs": 52,
"status": 200,
"tbt": 0,
"thirdParty": [
@@ -534,28 +534,28 @@
"bytes": {
"css": 11177,
"font": 209501,
"html": 7711,
"html": 7677,
"image": 0,
"js": 188341,
"other": 2472
"js": 179297,
"other": 2450
},
"cls": 0,
"fcp": 428,
"inp": 40,
"fcp": 404,
"inp": 32,
"interaction": "PL",
"lcp": 480,
"lcp": 464,
"lcpElement": {
"fetchpriority": null,
"loading": null,
"src": null,
"tag": "h1"
},
"load": 412,
"load": 523,
"prefetches": 14,
"profile": "desktop",
"renderBlocking": [],
"requests": 17,
"scriptMs": 44,
"requests": 16,
"scriptMs": 47,
"status": 404,
"tbt": 0,
"thirdParty": [],
@@ -568,91 +568,91 @@
"bytes": {
"css": 98168,
"font": 0,
"html": 24047,
"html": 24043,
"image": 0,
"js": 843378,
"js": 843368,
"other": 1690
},
"cls": 0,
"fcp": 1040,
"fcp": 1016,
"inp": null,
"interaction": null,
"lcp": 1040,
"lcp": 1016,
"lcpElement": {
"fetchpriority": null,
"loading": null,
"src": null,
"tag": "a"
},
"load": 962,
"load": 944,
"prefetches": 0,
"profile": "desktop",
"renderBlocking": [
"/_next/static/css/de3d54fcc6ee5dc6.css",
"/_next/static/css/dc48c3ee3f159f65.css",
"/_next/static/css/c1e0b959dd828ab8.css",
"/_next/static/css/e5d1b6185968e333.css",
"/_next/static/css/4858144d3215dfc6.css",
"/_next/static/css/dc48c3ee3f159f65.css"
"/_next/static/css/4858144d3215dfc6.css"
],
"requests": 20,
"scriptMs": 351,
"scriptMs": 348,
"status": 200,
"tbt": 0,
"thirdParty": [],
"ttfb": 89,
"ttfb": 87,
"url": "/admin/login",
"runs": 3
}
},
"date": "2026-12-01T14:09:30.949Z",
"date": "2026-12-01T14:38:54.097Z",
"label": "webpack-1180-after",
"method": "scripts/perf-measure.mjs + reference/e2e/perf-lab.mjs",
"runs": 3,
"server": {
"coldStartHealthMs": 1197,
"coldStartFirstPageMs": 1221,
"firstPageMs": 22,
"coldStartHealthMs": 984,
"coldStartFirstPageMs": 1003,
"firstPageMs": 18,
"ttfb_home": {
"median": 3.5,
"p95": 6.8
"median": 3.6,
"p95": 5.6
},
"ttfb_md": {
"median": 30.7,
"p95": 37.1
"median": 21.7,
"p95": 27.5
},
"ttfb_sitemap": {
"median": 1.8,
"p95": 2.4
"median": 1.1,
"p95": 1.4
},
"ttfb_llms": {
"median": 44.6,
"p95": 56.7
"median": 34.1,
"p95": 42
},
"render": {
"home": {
"medianMs": 68.1,
"medianMs": 52.1,
"queries": 24,
"queryMs": 0,
"byCollection": {
"globals": 27,
"pages": 33,
"media": 9,
"pages": 33,
"forms": 3
}
},
"page": {
"medianMs": 53.1,
"medianMs": 32.2,
"queries": 21,
"queryMs": 1,
"queryMs": 0,
"byCollection": {
"globals": 27,
"media": 6,
"pages": 27,
"media": 6,
"forms": 3
}
},
"archive": {
"medianMs": 62,
"medianMs": 41.5,
"queries": 23,
"queryMs": 0,
"byCollection": {
@@ -664,19 +664,19 @@
}
},
"post": {
"medianMs": 65.3,
"medianMs": 27.5,
"queries": 26,
"queryMs": 0,
"byCollection": {
"globals": 27,
"media": 9,
"pages": 24,
"media": 9,
"posts": 15,
"forms": 3
}
},
"caseStudy": {
"medianMs": 50.2,
"medianMs": 29.9,
"queries": 22,
"queryMs": 0,
"byCollection": {
@@ -688,7 +688,7 @@
}
},
"form": {
"medianMs": 31.4,
"medianMs": 21.5,
"queries": 19,
"queryMs": 0,
"byCollection": {
@@ -699,19 +699,19 @@
}
},
"showcase": {
"medianMs": 48.8,
"medianMs": 50,
"queries": 27,
"queryMs": 0,
"byCollection": {
"globals": 24,
"pages": 33,
"media": 12,
"pages": 33,
"forms": 6,
"posts": 6
}
},
"notFound": {
"medianMs": 21.3,
"medianMs": 26.6,
"queries": 20,
"queryMs": 0,
"byCollection": {
@@ -721,7 +721,7 @@
}
},
"md": {
"medianMs": 29,
"medianMs": 37,
"queries": 16,
"queryMs": 0,
"byCollection": {
@@ -738,7 +738,7 @@
"byCollection": {}
},
"llms": {
"medianMs": 42,
"medianMs": 43,
"queries": 22,
"queryMs": 0,
"byCollection": {
@@ -750,7 +750,7 @@
}
},
"llmsFull": {
"medianMs": 55,
"medianMs": 56,
"queries": 38,
"queryMs": 0,
"byCollection": {
@@ -763,6 +763,6 @@
}
}
},
"rssMiB": 305
"rssMiB": 410
}
}