Docs: performance.md, the iapl-performance skill, AGENT.md 6.11b, doctor.md, audit, api.md, the measurements and the audit
Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
801b897ea0
commit
c6c5dfbcbf
@@ -0,0 +1,136 @@
|
||||
# Performance review 2026-12 — method, numbers, audit, decisions
|
||||
|
||||
The measurements and the audit behind [performance.md](../../performance.md) (1.18.0). Owner's brief (2026-12-01):
|
||||
the site as light as possible, everything fast and optimised, good practice required, the audit and the doctor
|
||||
check it, full documentation; page loading, elements, animations, resources, images.
|
||||
|
||||
## Method (repeatable)
|
||||
|
||||
```bash
|
||||
docker run -d --rm --name iapl-perf-mongo -p 127.0.0.1:27277:27017 mongo:7 # any local MongoDB
|
||||
# reference/.env: DATABASE_URI on that port, ALLOW_LOCAL_MEDIA=1, NEXT_PUBLIC_SERVER_URL=http://localhost:3370
|
||||
pnpm build && (cd reference && pnpm install --ignore-workspace && pnpm seed && pnpm build)
|
||||
pnpm perf:measure --label=webpack-after --mongo-container=iapl-perf-mongo # starts next start itself
|
||||
(cd reference && pnpm exec next build --turbopack) && pnpm perf:measure --label=turbopack-after --mongo-container=iapl-perf-mongo
|
||||
```
|
||||
`scripts/perf-measure.mjs` + `reference/e2e/perf-lab.mjs`: Chromium (Playwright 1.65) with Lighthouse's profiles,
|
||||
empty cache, median of 3 runs; eight page types × phone and desktop; `/admin/login`; cold start (spawn → `/api/health`),
|
||||
RSS after the run, TTFB over 20 requests, and one render of each page with ISR bypassed (`x-prerender-revalidate`)
|
||||
counted by MongoDB's profiler. Machine: Apple silicon, Node 22.23, MongoDB 7 in Docker, Next 16.4.6, Payload 3.94.1.
|
||||
Raw results: `webpack-before.json`, `webpack-after.json`, `turbopack-before.json`, `turbopack-after.json` here.
|
||||
"Before" = local main `ee241de` (1.17.2), "after" = this branch.
|
||||
|
||||
## Numbers
|
||||
|
||||
### Server: one render of a page (ISR bypassed), webpack build
|
||||
|
||||
| Page | Queries before → after | Render ms before → after |
|
||||
|---|---|---|
|
||||
| home `/pl` | 43 → 24 | 95 → 51 |
|
||||
| page `/pl/o-nas` | 34 → 21 | 54 → 34 |
|
||||
| archive `/pl/blog` | 34 → 23 | 63 → 42 |
|
||||
| post | 41 → 26 | 61 → 41 |
|
||||
| case study | 37 → 22 | 33 → 31 |
|
||||
| form `/pl/wycena` | 30 → 19 | 28 → 29 |
|
||||
| showcase `/pl/bloki` | 42 → 27 | 68 → 62 |
|
||||
| 404 | 25 → 20 | 29 → 26 |
|
||||
| `/md/pl`, `/llms.txt`, `/llms-full.txt`, `/sitemap.xml` | 16, 22, 38, 0 — unchanged | — |
|
||||
|
||||
All query time on a local MongoDB is ≤ 1 ms per render: the count is what costs on a remote database (one round trip
|
||||
each — on Coolify's Docker network ~0.2–0.5 ms, more on a managed database). A cached (ISR) page answers in
|
||||
3.5–3.7 ms median, 5.4 ms p95, with 0 queries, before and after. Cold start (spawn → health) 1.0–1.6 s; server RSS
|
||||
after the run 340–440 MiB (noisy between runs; no change attributable to this branch).
|
||||
|
||||
### Client: lab, median of 3, phone (Slow 4G, CPU 4×) / desktop
|
||||
|
||||
| | Before (webpack) | After (webpack) | Before (Turbopack) | After (Turbopack) |
|
||||
|---|---|---|---|---|
|
||||
| JS per page, compressed | 191.3 KB | 188.1 KB | 184.4 KB | see turbopack-after.json |
|
||||
| CSS | 11.0 KB | 11.0 KB | 12.0 KB | |
|
||||
| Fonts | 209.5 KB | 209.5 KB | 209.5 KB | |
|
||||
| Requests (home, phone) | 26 | 26 | 26 | |
|
||||
| LCP phone (pages) | 788–832 ms | 780–828 ms | 796–836 ms | |
|
||||
| LCP desktop | 284–316 ms | 288–300 ms | 284–300 ms | |
|
||||
| CLS | 0 (home 0.036) | 0 (home 0.036) | 0 (home 0.036) | |
|
||||
| TBT phone | 22–25 ms | 16–23 ms | 6–13 ms | |
|
||||
| Tap response (INP proxy) | 32–40 ms | 32–48 ms | 32–48 ms | |
|
||||
| Render-blocking | 1 (the stylesheet) | 1 | 1 | |
|
||||
| 404: LCP / CLS (phone) | 2.49 s / 0.319 | 2.50 s / 0.319 | 2.37 s / 0.319 | |
|
||||
| `/admin/login` JS | 843 KB | 843 KB | — | |
|
||||
|
||||
Lab numbers on localhost: LCP is the network profile plus render, so the differences between pages are small; the
|
||||
budgets and the gate catch regressions, PageSpeed Insights shows the field.
|
||||
|
||||
## 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,
|
||||
prefers-reduced-motion, third-party-facades, render-blocking-resources, serve-images-avif-webp,
|
||||
lcp-lazy-loading), nextjs.org/docs (caching, fonts, image, lazy-loading, package bundling), payloadcms.com/docs
|
||||
(queries/depth, queries/select, database/indexes).
|
||||
|
||||
### Built in this branch (no change to how a site looks or how editors work)
|
||||
|
||||
| # | Finding (before) | Fix | Measured gain |
|
||||
|---|---|---|---|
|
||||
| S1 | `resolveRoute` was `cache()`d but called with `segments ?? []` — a new array each time, so React's identity comparison missed; the homepage was read in full at depth 2 (≈ 6 queries) four times per render (`src/modules/frontend/createContentHelpers.ts` resolveRoute; callers `pageRoute.tsx:123`, `createContentHelpers.ts` getPageJsonLd, `seo/createPageMetadata.ts:152`) | key by `JSON.stringify(segments ?? [])` | home 43 → 24 queries with S2–S4 |
|
||||
| S2 | `generatePageMetadata` uncached: the page's metadata, the reference page's alternate links and `getPageJsonLd` each built it — three × (homepage + document read in every locale) | `cache()` keyed by value | −6 queries on every page |
|
||||
| S3 | `slugsAcrossLocales` and `readSiteMetaConfig` read whole documents (layout in every locale) for the slug map (`seo/slugsAcrossLocales.ts:28`, `seo/readSiteMetaConfig.ts:78`) | `select: { slug: true }` | smaller reads (same count) |
|
||||
| S4 | `getConsentTexts` → `readPrivacyPage` read Site settings at depth 1 in every locale, populating every system page, archive and allowed page in full (`consent/getConsentTexts.ts:138`) | `select: { privacyPolicy: true }` | fewer populated pages per render |
|
||||
| S5 | analytics and Turnstile each read Site integrations in the same `Promise.all` (`frontend/createContentHelpers.ts` getSiteShell, `analytics/getAnalyticsConfig.ts:14`, `turnstile/config.ts:90`) | one in-flight read shared (`payload/getSiteIntegrations.ts`), nothing kept after it | −1 query per render (−2 with a form that has file blocks) |
|
||||
| S6 | reference: `siteJsonLd` read the Company global again instead of the cached `getCompany` (`reference/src/lib/content.ts`) | the cached getter | −1 query per render |
|
||||
| S7 | reference: `slugHistory.slug` without an index — queried on every unknown URL (`content/resolveRedirect.ts:96`) | `index: true` (reference `Pages.ts`, hooks.md) | a collection scan avoided per 404; nothing measurable at 30 pages |
|
||||
| C1 | `src/exports/client.ts` and six module barrels carried `'use client'`: the barrel was one client boundary, so every page shipped every component behind it | the directive only on the leaf components | with C2: −3.2 KB compressed JS on every page |
|
||||
| C2 | `LightboxProvider` imported the viewer statically (`lightbox/LightboxProvider.tsx:10`) | `lazy()` — loaded on the first open (7.3 KB raw chunk) | in C1 |
|
||||
| C3 | `TableOfContents` measured every heading on every scroll event (`richtext/TableOfContents.tsx:38`) | at most once per frame (rAF) | fewer forced layouts while scrolling a long article (INP) |
|
||||
| C4 | `Turnstile` polled every 300 ms for the life of the form (`turnstile/Turnstile.tsx:100`) | stop once rendered | no idle timer on form pages |
|
||||
| C5 | the cookie banner's switches, its details chevron and the cookie button animated with no regard for reduced motion (`consent/CookieBanner.tsx:139,171,361`, `CookieButton.tsx:82`) | `motion-reduce:transition-none` | WCAG 2.3.3; no change without the setting |
|
||||
| C6 | the reference header logo had `priority` — a second high-priority preload next to the hero (`reference/src/components/layout/Header.tsx:27`) | `Media eager` (new option: eager, no high priority, no preload) | the hero gets the first round trip (a site with a logo) |
|
||||
| C7 | the lazy 404 could not reserve space | `createNotFoundPage({ load, placeholder })` (default unchanged) | CLS 0.32 → 0 when the project sets its 404 height |
|
||||
|
||||
### Already right (kept)
|
||||
|
||||
ISR for every page and 0 queries for a cached page; no `headers()` / `cookies()` in the layout; the consent banner
|
||||
in the first paint (`docs/consent.md`); theme client hints only on `/admin`; `next/font` self-hosted with
|
||||
`display: 'swap'`; one render-blocking stylesheet (11 KB); `mediaImageProps` sets dimensions, `sizes`, lazy and
|
||||
the LCP `priority`; `buildImagesConfig` serves AVIF / WebP with a 31-day cache; upload limits with an opt-in
|
||||
conversion (metadata dropped); `YouTubeEmbed` is a facade; Meta, LinkedIn, TikTok and Clarity wait for consent;
|
||||
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. Options: Fraunces `preload: false` (headings swap in late, fallback metrics keep CLS ~0) — −70 KB
|
||||
of preloads competing with the hero; or one family. A design decision for the reference site and the starter
|
||||
default. Gain on a phone: ~0.3 s less contention on Slow 4G; cost: a visible heading swap.
|
||||
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.
|
||||
|
||||
### Shared with IAWL
|
||||
|
||||
Proposed for both products (performance.md §6): the Core Web Vitals targets and the lab profile; JS ≤ 250 KB,
|
||||
CSS ≤ 50 KB, fonts ≤ 250 KB and two families, ≤ 40 requests on the phone, one render-blocking stylesheet, no
|
||||
third-party origin before consent; images ≤ 1.5 MB and ≤ 2560 px at upload, AVIF / WebP in the width the screen
|
||||
needs, one high-priority LCP image, lazy below the fold. Not shared: the database budget (MongoDB queries per render
|
||||
here, SQL queries per request in WordPress).
|
||||
@@ -0,0 +1,751 @@
|
||||
{
|
||||
"client": {
|
||||
"mobile": {
|
||||
"home": {
|
||||
"bytes": {
|
||||
"css": 11042,
|
||||
"font": 209501,
|
||||
"html": 19849,
|
||||
"image": 9532,
|
||||
"js": 188111,
|
||||
"other": 24978
|
||||
},
|
||||
"cls": 0.036,
|
||||
"fcp": 800,
|
||||
"inp": 40,
|
||||
"interaction": "PL",
|
||||
"lcp": 800,
|
||||
"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": 2495,
|
||||
"profile": "mobile",
|
||||
"renderBlocking": [
|
||||
"/_next/static/css/3ca5a494a33af0a8.css"
|
||||
],
|
||||
"requests": 26,
|
||||
"scriptMs": 118,
|
||||
"status": 200,
|
||||
"tbt": 18,
|
||||
"thirdParty": [],
|
||||
"ttfb": 151,
|
||||
"url": "/pl",
|
||||
"runs": 3
|
||||
},
|
||||
"page": {
|
||||
"bytes": {
|
||||
"css": 11042,
|
||||
"font": 209501,
|
||||
"html": 17076,
|
||||
"image": 8451,
|
||||
"js": 188111,
|
||||
"other": 13192
|
||||
},
|
||||
"cls": 0,
|
||||
"fcp": 796,
|
||||
"inp": 32,
|
||||
"interaction": "PL",
|
||||
"lcp": 796,
|
||||
"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": 2502,
|
||||
"profile": "mobile",
|
||||
"renderBlocking": [
|
||||
"/_next/static/css/3ca5a494a33af0a8.css"
|
||||
],
|
||||
"requests": 21,
|
||||
"scriptMs": 114,
|
||||
"status": 200,
|
||||
"tbt": 19,
|
||||
"thirdParty": [],
|
||||
"ttfb": 151,
|
||||
"url": "/pl/o-nas",
|
||||
"runs": 3
|
||||
},
|
||||
"archive": {
|
||||
"bytes": {
|
||||
"css": 11042,
|
||||
"font": 209501,
|
||||
"html": 16537,
|
||||
"image": 5316,
|
||||
"js": 188111,
|
||||
"other": 18767
|
||||
},
|
||||
"cls": 0,
|
||||
"fcp": 780,
|
||||
"inp": 32,
|
||||
"interaction": "PL",
|
||||
"lcp": 780,
|
||||
"lcpElement": {
|
||||
"fetchpriority": null,
|
||||
"loading": null,
|
||||
"src": null,
|
||||
"tag": "p"
|
||||
},
|
||||
"load": 2489,
|
||||
"profile": "mobile",
|
||||
"renderBlocking": [
|
||||
"/_next/static/css/3ca5a494a33af0a8.css"
|
||||
],
|
||||
"requests": 22,
|
||||
"scriptMs": 116,
|
||||
"status": 200,
|
||||
"tbt": 18,
|
||||
"thirdParty": [],
|
||||
"ttfb": 151,
|
||||
"url": "/pl/blog",
|
||||
"runs": 3
|
||||
},
|
||||
"post": {
|
||||
"bytes": {
|
||||
"css": 11042,
|
||||
"font": 209501,
|
||||
"html": 17062,
|
||||
"image": 5316,
|
||||
"js": 188111,
|
||||
"other": 13192
|
||||
},
|
||||
"cls": 0,
|
||||
"fcp": 796,
|
||||
"inp": 40,
|
||||
"interaction": "PL",
|
||||
"lcp": 796,
|
||||
"lcpElement": {
|
||||
"fetchpriority": null,
|
||||
"loading": null,
|
||||
"src": null,
|
||||
"tag": "p"
|
||||
},
|
||||
"load": 2488,
|
||||
"profile": "mobile",
|
||||
"renderBlocking": [
|
||||
"/_next/static/css/3ca5a494a33af0a8.css"
|
||||
],
|
||||
"requests": 21,
|
||||
"scriptMs": 110,
|
||||
"status": 200,
|
||||
"tbt": 16,
|
||||
"thirdParty": [],
|
||||
"ttfb": 151,
|
||||
"url": "/pl/blog/zanim-kupisz-dzialke",
|
||||
"runs": 3
|
||||
},
|
||||
"caseStudy": {
|
||||
"bytes": {
|
||||
"css": 11042,
|
||||
"font": 209501,
|
||||
"html": 16546,
|
||||
"image": 4372,
|
||||
"js": 188111,
|
||||
"other": 13192
|
||||
},
|
||||
"cls": 0,
|
||||
"fcp": 792,
|
||||
"inp": 40,
|
||||
"interaction": "PL",
|
||||
"lcp": 792,
|
||||
"lcpElement": {
|
||||
"fetchpriority": null,
|
||||
"loading": null,
|
||||
"src": null,
|
||||
"tag": "p"
|
||||
},
|
||||
"load": 2475,
|
||||
"profile": "mobile",
|
||||
"renderBlocking": [
|
||||
"/_next/static/css/3ca5a494a33af0a8.css"
|
||||
],
|
||||
"requests": 20,
|
||||
"scriptMs": 116,
|
||||
"status": 200,
|
||||
"tbt": 20,
|
||||
"thirdParty": [],
|
||||
"ttfb": 151,
|
||||
"url": "/pl/realizacje/dom-pod-lasem",
|
||||
"runs": 3
|
||||
},
|
||||
"form": {
|
||||
"bytes": {
|
||||
"css": 11042,
|
||||
"font": 209501,
|
||||
"html": 16279,
|
||||
"image": 0,
|
||||
"js": 188111,
|
||||
"other": 13192
|
||||
},
|
||||
"cls": 0,
|
||||
"fcp": 792,
|
||||
"inp": 32,
|
||||
"interaction": "PL",
|
||||
"lcp": 792,
|
||||
"lcpElement": {
|
||||
"fetchpriority": null,
|
||||
"loading": null,
|
||||
"src": null,
|
||||
"tag": "p"
|
||||
},
|
||||
"load": 2447,
|
||||
"profile": "mobile",
|
||||
"renderBlocking": [
|
||||
"/_next/static/css/3ca5a494a33af0a8.css"
|
||||
],
|
||||
"requests": 18,
|
||||
"scriptMs": 119,
|
||||
"status": 200,
|
||||
"tbt": 23,
|
||||
"thirdParty": [],
|
||||
"ttfb": 151,
|
||||
"url": "/pl/wycena",
|
||||
"runs": 3
|
||||
},
|
||||
"showcase": {
|
||||
"bytes": {
|
||||
"css": 11042,
|
||||
"font": 209501,
|
||||
"html": 36946,
|
||||
"image": 2016,
|
||||
"js": 216357,
|
||||
"other": 25110
|
||||
},
|
||||
"cls": 0,
|
||||
"fcp": 828,
|
||||
"inp": 32,
|
||||
"interaction": "PL",
|
||||
"lcp": 828,
|
||||
"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": 2464,
|
||||
"profile": "mobile",
|
||||
"renderBlocking": [
|
||||
"/_next/static/css/3ca5a494a33af0a8.css"
|
||||
],
|
||||
"requests": 25,
|
||||
"scriptMs": 170,
|
||||
"status": 200,
|
||||
"tbt": 20,
|
||||
"thirdParty": [
|
||||
"https://challenges.cloudflare.com"
|
||||
],
|
||||
"ttfb": 151,
|
||||
"url": "/pl/bloki",
|
||||
"runs": 3
|
||||
},
|
||||
"notFound": {
|
||||
"bytes": {
|
||||
"css": 11042,
|
||||
"font": 209501,
|
||||
"html": 7694,
|
||||
"image": 0,
|
||||
"js": 188111,
|
||||
"other": 68916
|
||||
},
|
||||
"cls": 0.319,
|
||||
"fcp": 2504,
|
||||
"inp": 40,
|
||||
"interaction": "PL",
|
||||
"lcp": 2504,
|
||||
"lcpElement": {
|
||||
"fetchpriority": null,
|
||||
"loading": null,
|
||||
"src": null,
|
||||
"tag": "p"
|
||||
},
|
||||
"load": 2587,
|
||||
"profile": "mobile",
|
||||
"renderBlocking": [],
|
||||
"requests": 27,
|
||||
"scriptMs": 194,
|
||||
"status": 404,
|
||||
"tbt": 0,
|
||||
"thirdParty": [],
|
||||
"ttfb": 151,
|
||||
"url": "/pl/nie-ma-takiej-strony",
|
||||
"runs": 3
|
||||
}
|
||||
},
|
||||
"desktop": {
|
||||
"home": {
|
||||
"bytes": {
|
||||
"css": 11042,
|
||||
"font": 209501,
|
||||
"html": 19849,
|
||||
"image": 9274,
|
||||
"js": 188111,
|
||||
"other": 72052
|
||||
},
|
||||
"cls": 0.001,
|
||||
"fcp": 292,
|
||||
"inp": 40,
|
||||
"interaction": "PL",
|
||||
"lcp": 292,
|
||||
"lcpElement": {
|
||||
"fetchpriority": null,
|
||||
"loading": null,
|
||||
"src": null,
|
||||
"tag": "h1"
|
||||
},
|
||||
"load": 482,
|
||||
"profile": "desktop",
|
||||
"renderBlocking": [
|
||||
"/_next/static/css/3ca5a494a33af0a8.css"
|
||||
],
|
||||
"requests": 33,
|
||||
"scriptMs": 46,
|
||||
"status": 200,
|
||||
"tbt": 0,
|
||||
"thirdParty": [],
|
||||
"ttfb": 41,
|
||||
"url": "/pl",
|
||||
"runs": 3
|
||||
},
|
||||
"page": {
|
||||
"bytes": {
|
||||
"css": 11042,
|
||||
"font": 209501,
|
||||
"html": 17076,
|
||||
"image": 10676,
|
||||
"js": 188111,
|
||||
"other": 48402
|
||||
},
|
||||
"cls": 0,
|
||||
"fcp": 292,
|
||||
"inp": 32,
|
||||
"interaction": "PL",
|
||||
"lcp": 292,
|
||||
"lcpElement": {
|
||||
"fetchpriority": "high",
|
||||
"loading": "eager",
|
||||
"src": "/_next/image?url=http%3A%2F%2Flocalhost%3A3370%2Fapi%2Fmedia%2Ffile%2Flibrary.webp&w=750&q=75",
|
||||
"tag": "img"
|
||||
},
|
||||
"load": 464,
|
||||
"profile": "desktop",
|
||||
"renderBlocking": [
|
||||
"/_next/static/css/3ca5a494a33af0a8.css"
|
||||
],
|
||||
"requests": 28,
|
||||
"scriptMs": 28,
|
||||
"status": 200,
|
||||
"tbt": 0,
|
||||
"thirdParty": [],
|
||||
"ttfb": 41,
|
||||
"url": "/pl/o-nas",
|
||||
"runs": 3
|
||||
},
|
||||
"archive": {
|
||||
"bytes": {
|
||||
"css": 11042,
|
||||
"font": 209501,
|
||||
"html": 16537,
|
||||
"image": 4809,
|
||||
"js": 188111,
|
||||
"other": 65348
|
||||
},
|
||||
"cls": 0,
|
||||
"fcp": 288,
|
||||
"inp": 40,
|
||||
"interaction": "PL",
|
||||
"lcp": 288,
|
||||
"lcpElement": {
|
||||
"fetchpriority": null,
|
||||
"loading": null,
|
||||
"src": null,
|
||||
"tag": "p"
|
||||
},
|
||||
"load": 468,
|
||||
"profile": "desktop",
|
||||
"renderBlocking": [
|
||||
"/_next/static/css/3ca5a494a33af0a8.css"
|
||||
],
|
||||
"requests": 30,
|
||||
"scriptMs": 32,
|
||||
"status": 200,
|
||||
"tbt": 0,
|
||||
"thirdParty": [],
|
||||
"ttfb": 41,
|
||||
"url": "/pl/blog",
|
||||
"runs": 3
|
||||
},
|
||||
"post": {
|
||||
"bytes": {
|
||||
"css": 11042,
|
||||
"font": 209501,
|
||||
"html": 17062,
|
||||
"image": 4809,
|
||||
"js": 188111,
|
||||
"other": 48402
|
||||
},
|
||||
"cls": 0,
|
||||
"fcp": 288,
|
||||
"inp": 48,
|
||||
"interaction": "PL",
|
||||
"lcp": 288,
|
||||
"lcpElement": {
|
||||
"fetchpriority": null,
|
||||
"loading": null,
|
||||
"src": null,
|
||||
"tag": "p"
|
||||
},
|
||||
"load": 469,
|
||||
"profile": "desktop",
|
||||
"renderBlocking": [
|
||||
"/_next/static/css/3ca5a494a33af0a8.css"
|
||||
],
|
||||
"requests": 27,
|
||||
"scriptMs": 32,
|
||||
"status": 200,
|
||||
"tbt": 0,
|
||||
"thirdParty": [],
|
||||
"ttfb": 41,
|
||||
"url": "/pl/blog/zanim-kupisz-dzialke",
|
||||
"runs": 3
|
||||
},
|
||||
"caseStudy": {
|
||||
"bytes": {
|
||||
"css": 11042,
|
||||
"font": 209501,
|
||||
"html": 16546,
|
||||
"image": 9278,
|
||||
"js": 188111,
|
||||
"other": 48402
|
||||
},
|
||||
"cls": 0,
|
||||
"fcp": 300,
|
||||
"inp": 40,
|
||||
"interaction": "PL",
|
||||
"lcp": 300,
|
||||
"lcpElement": {
|
||||
"fetchpriority": null,
|
||||
"loading": null,
|
||||
"src": null,
|
||||
"tag": "h1"
|
||||
},
|
||||
"load": 468,
|
||||
"profile": "desktop",
|
||||
"renderBlocking": [
|
||||
"/_next/static/css/3ca5a494a33af0a8.css"
|
||||
],
|
||||
"requests": 28,
|
||||
"scriptMs": 28,
|
||||
"status": 200,
|
||||
"tbt": 0,
|
||||
"thirdParty": [],
|
||||
"ttfb": 41,
|
||||
"url": "/pl/realizacje/dom-pod-lasem",
|
||||
"runs": 3
|
||||
},
|
||||
"form": {
|
||||
"bytes": {
|
||||
"css": 11042,
|
||||
"font": 209501,
|
||||
"html": 16279,
|
||||
"image": 0,
|
||||
"js": 188111,
|
||||
"other": 48402
|
||||
},
|
||||
"cls": 0,
|
||||
"fcp": 300,
|
||||
"inp": 40,
|
||||
"interaction": "PL",
|
||||
"lcp": 300,
|
||||
"lcpElement": {
|
||||
"fetchpriority": null,
|
||||
"loading": null,
|
||||
"src": null,
|
||||
"tag": "p"
|
||||
},
|
||||
"load": 475,
|
||||
"profile": "desktop",
|
||||
"renderBlocking": [
|
||||
"/_next/static/css/3ca5a494a33af0a8.css"
|
||||
],
|
||||
"requests": 24,
|
||||
"scriptMs": 31,
|
||||
"status": 200,
|
||||
"tbt": 0,
|
||||
"thirdParty": [],
|
||||
"ttfb": 41,
|
||||
"url": "/pl/wycena",
|
||||
"runs": 3
|
||||
},
|
||||
"showcase": {
|
||||
"bytes": {
|
||||
"css": 11042,
|
||||
"font": 209501,
|
||||
"html": 36946,
|
||||
"image": 5263,
|
||||
"js": 216414,
|
||||
"other": 48402
|
||||
},
|
||||
"cls": 0,
|
||||
"fcp": 292,
|
||||
"inp": 40,
|
||||
"interaction": "PL",
|
||||
"lcp": 292,
|
||||
"lcpElement": {
|
||||
"fetchpriority": null,
|
||||
"loading": null,
|
||||
"src": null,
|
||||
"tag": "p"
|
||||
},
|
||||
"load": 457,
|
||||
"profile": "desktop",
|
||||
"renderBlocking": [
|
||||
"/_next/static/css/3ca5a494a33af0a8.css"
|
||||
],
|
||||
"requests": 30,
|
||||
"scriptMs": 50,
|
||||
"status": 200,
|
||||
"tbt": 0,
|
||||
"thirdParty": [
|
||||
"https://challenges.cloudflare.com"
|
||||
],
|
||||
"ttfb": 41,
|
||||
"url": "/pl/bloki",
|
||||
"runs": 3
|
||||
},
|
||||
"notFound": {
|
||||
"bytes": {
|
||||
"css": 11042,
|
||||
"font": 209501,
|
||||
"html": 7694,
|
||||
"image": 0,
|
||||
"js": 188111,
|
||||
"other": 85469
|
||||
},
|
||||
"cls": 0,
|
||||
"fcp": 512,
|
||||
"inp": 48,
|
||||
"interaction": "PL",
|
||||
"lcp": 576,
|
||||
"lcpElement": {
|
||||
"fetchpriority": null,
|
||||
"loading": null,
|
||||
"src": null,
|
||||
"tag": "h1"
|
||||
},
|
||||
"load": 505,
|
||||
"profile": "desktop",
|
||||
"renderBlocking": [],
|
||||
"requests": 31,
|
||||
"scriptMs": 44,
|
||||
"status": 404,
|
||||
"tbt": 0,
|
||||
"thirdParty": [],
|
||||
"ttfb": 41,
|
||||
"url": "/pl/nie-ma-takiej-strony",
|
||||
"runs": 3
|
||||
}
|
||||
},
|
||||
"admin": {
|
||||
"bytes": {
|
||||
"css": 98168,
|
||||
"font": 0,
|
||||
"html": 23081,
|
||||
"image": 0,
|
||||
"js": 843270,
|
||||
"other": 1690
|
||||
},
|
||||
"cls": 0,
|
||||
"fcp": 1024,
|
||||
"inp": null,
|
||||
"interaction": null,
|
||||
"lcp": 1024,
|
||||
"lcpElement": {
|
||||
"fetchpriority": null,
|
||||
"loading": null,
|
||||
"src": null,
|
||||
"tag": "a"
|
||||
},
|
||||
"load": 950,
|
||||
"profile": "desktop",
|
||||
"renderBlocking": [
|
||||
"/_next/static/css/de3d54fcc6ee5dc6.css",
|
||||
"/_next/static/css/c1e0b959dd828ab8.css",
|
||||
"/_next/static/css/e5d1b6185968e333.css",
|
||||
"/_next/static/css/4858144d3215dfc6.css",
|
||||
"/_next/static/css/dc48c3ee3f159f65.css"
|
||||
],
|
||||
"requests": 20,
|
||||
"scriptMs": 350,
|
||||
"status": 200,
|
||||
"tbt": 0,
|
||||
"thirdParty": [],
|
||||
"ttfb": 93,
|
||||
"url": "/admin/login",
|
||||
"runs": 3
|
||||
}
|
||||
},
|
||||
"date": "2026-12-01T12:39:24.391Z",
|
||||
"label": "webpack-after",
|
||||
"method": "scripts/perf-measure.mjs + reference/e2e/perf-lab.mjs",
|
||||
"runs": 3,
|
||||
"server": {
|
||||
"coldStartHealthMs": 1040,
|
||||
"coldStartFirstPageMs": 1068,
|
||||
"firstPageMs": 26,
|
||||
"ttfb_home": {
|
||||
"median": 3.7,
|
||||
"p95": 5.4
|
||||
},
|
||||
"ttfb_md": {
|
||||
"median": 26.7,
|
||||
"p95": 31.9
|
||||
},
|
||||
"ttfb_sitemap": {
|
||||
"median": 1.4,
|
||||
"p95": 1.8
|
||||
},
|
||||
"ttfb_llms": {
|
||||
"median": 36.4,
|
||||
"p95": 53.7
|
||||
},
|
||||
"render": {
|
||||
"home": {
|
||||
"medianMs": 51,
|
||||
"queries": 24,
|
||||
"queryMs": 0,
|
||||
"byCollection": {
|
||||
"globals": 27,
|
||||
"pages": 33,
|
||||
"media": 9,
|
||||
"forms": 3
|
||||
}
|
||||
},
|
||||
"page": {
|
||||
"medianMs": 33.8,
|
||||
"queries": 21,
|
||||
"queryMs": 0,
|
||||
"byCollection": {
|
||||
"globals": 27,
|
||||
"pages": 27,
|
||||
"media": 6,
|
||||
"forms": 3
|
||||
}
|
||||
},
|
||||
"archive": {
|
||||
"medianMs": 42.1,
|
||||
"queries": 23,
|
||||
"queryMs": 0,
|
||||
"byCollection": {
|
||||
"globals": 27,
|
||||
"media": 6,
|
||||
"pages": 27,
|
||||
"forms": 3,
|
||||
"posts": 6
|
||||
}
|
||||
},
|
||||
"post": {
|
||||
"medianMs": 40.6,
|
||||
"queries": 26,
|
||||
"queryMs": 0,
|
||||
"byCollection": {
|
||||
"globals": 27,
|
||||
"pages": 24,
|
||||
"media": 9,
|
||||
"posts": 15,
|
||||
"forms": 3
|
||||
}
|
||||
},
|
||||
"caseStudy": {
|
||||
"medianMs": 30.8,
|
||||
"queries": 22,
|
||||
"queryMs": 0,
|
||||
"byCollection": {
|
||||
"globals": 27,
|
||||
"pages": 21,
|
||||
"media": 6,
|
||||
"casestudies": 9,
|
||||
"forms": 3
|
||||
}
|
||||
},
|
||||
"form": {
|
||||
"medianMs": 28.9,
|
||||
"queries": 19,
|
||||
"queryMs": 0,
|
||||
"byCollection": {
|
||||
"globals": 27,
|
||||
"pages": 24,
|
||||
"media": 3,
|
||||
"forms": 3
|
||||
}
|
||||
},
|
||||
"showcase": {
|
||||
"medianMs": 61.8,
|
||||
"queries": 27,
|
||||
"queryMs": 0,
|
||||
"byCollection": {
|
||||
"globals": 24,
|
||||
"pages": 33,
|
||||
"media": 12,
|
||||
"forms": 6,
|
||||
"posts": 6
|
||||
}
|
||||
},
|
||||
"notFound": {
|
||||
"medianMs": 26.4,
|
||||
"queries": 20,
|
||||
"queryMs": 0,
|
||||
"byCollection": {
|
||||
"globals": 27,
|
||||
"pages": 27,
|
||||
"media": 6
|
||||
}
|
||||
},
|
||||
"md": {
|
||||
"medianMs": 30,
|
||||
"queries": 16,
|
||||
"queryMs": 0,
|
||||
"byCollection": {
|
||||
"globals": 4,
|
||||
"media": 5,
|
||||
"pages": 6,
|
||||
"forms": 1
|
||||
}
|
||||
},
|
||||
"sitemap": {
|
||||
"medianMs": 3,
|
||||
"queries": 0,
|
||||
"queryMs": 0,
|
||||
"byCollection": {}
|
||||
},
|
||||
"llms": {
|
||||
"medianMs": 41,
|
||||
"queries": 22,
|
||||
"queryMs": 0,
|
||||
"byCollection": {
|
||||
"globals": 4,
|
||||
"media": 3,
|
||||
"pages": 7,
|
||||
"posts": 4,
|
||||
"casestudies": 4
|
||||
}
|
||||
},
|
||||
"llmsFull": {
|
||||
"medianMs": 65,
|
||||
"queries": 38,
|
||||
"queryMs": 0,
|
||||
"byCollection": {
|
||||
"globals": 6,
|
||||
"media": 9,
|
||||
"pages": 13,
|
||||
"forms": 2,
|
||||
"posts": 4,
|
||||
"casestudies": 4
|
||||
}
|
||||
}
|
||||
},
|
||||
"rssMiB": 440
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user