Course 14 · Craft

Performance
Fast, and provably so.

The metrics that matter, measured rather than guessed — and the handful of changes that move them, from the hero image to the query behind it.

16Lessons
≈ 3hReading
16Playable now
Core Web VitalsMeasuringImagesJavaScriptBudgets

0 of 16 lessons finished — nothing yet

The syllabus

16 lessons,
in the order they build on each other.

Start lesson one ↗
01

What "fast" means

Three numbers a user actually feels, and why the average of them is the wrong one to read.

≈ 11 min
02

Measuring

Lab against field, percentiles, and the Performance API that is already in the page.

≈ 13 min
03

Largest contentful paint

What delays the biggest thing on the screen, in the order it is usually worth fixing.

≈ 13 min
04

Layout shift

Why the page jumps, what the score is made of, and the attribute that prevents most of it.

≈ 12 min
05

Interaction latency

Long tasks, the one thread, and how to answer a tap in under two hundred milliseconds.

≈ 13 min
06

Images

The single biggest win on most pages: format, size, loading and priority.

≈ 13 min
07

Fonts

Invisible text, the swap that shifts the layout, and how to have neither.

≈ 11 min
08

The cost of JavaScript

Bytes, parse, execute — and splitting the bundle by what a page actually needs.

≈ 13 min
09

Rendering

Layout thrashing, the compositor, and a list of ten thousand rows that scrolls.

≈ 12 min
10

The network

Compression, caching, preconnect and priority — the wire, revisited for speed.

≈ 12 min
11

The server

Time to first byte: the query, the cache, and the N+1 that makes a page crawl.

≈ 12 min
12

Memory

Leaks that make a long session slow: detached nodes, listeners and caches that never forget.

≈ 12 min
13

Perceived speed

Skeletons, optimistic updates and the difference between fast and feeling fast.

≈ 11 min
14

Budgets

A number the build enforces, so the page does not get slower one commit at a time.

≈ 12 min
15

Reading a profile

The flame chart, the waterfall and the three questions that find the cause.

≈ 13 min
16

Practice: make it fast

One slow page, modelled. Find the four problems, fix them, and prove the numbers moved.

≈ 15 min