FSD Frontend System Design

Part III β€” The Speed Β· Lesson 5.2

Performance Importance

In one lineLatency is a business metric β€” it moves conversion, retention, and reach, not just Lighthouse scores.

Where you've seen itEvery large retailer that has published A/B data on load time reaches the same conclusion β€” slower pages sell less, consistently.

  • Time12 min
  • DiagramLatency vs conversion curve + who your slow users are
  • Chapter5 Β· Performance

Diagram

diagram
CONVERSION vs LOAD TIME β€” the shape everyone measures

  conversion
     β–²
 100%│●
     β”‚  ●●
     β”‚     ●●●
     β”‚         ●●●●
     β”‚              ●●●●●●
     β”‚                     ●●●●●●●●●
   0 └────┬────┬────┬────┬────┬────┬────► load time
        1s   2s   3s   4s   5s   6s

  Steepest losses happen in the first few seconds β€”
  where most of your optimisation budget should go.
diagram
WHO YOUR SLOW USERS ACTUALLY ARE

  your laptop         β–ˆβ–ˆβ–ˆβ–ˆ 1.2s      ← what you test on
  flagship phone      β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ 2.1s
  mid-tier Android    β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ 4.8s   ← the median real user
  4-year-old phone,   β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ 9.3s
  patchy 4G                                ← the ones who leave

  Median device CPU is ~4Γ— slower than a developer machine.
diagram
THE COMPOUNDING EFFECTS

  slow page ──► fewer conversions       (direct revenue)
            ──► lower engagement        (retention)
            ──► worse ranking signal    (less traffic)
            ──► more support load       ("the site is broken")
            ──► more infra cost         (retries, abandoned sessions)

How it works

  1. Tie the metric to money before asking for time: "p75 LCP is 4.1s; every 500ms is worth roughly X% of checkout completions."
  2. Test on the device your users have. Throttle to 4Γ— CPU slowdown and Slow 4G by default in DevTools.
  3. Watch the tail, not the mean β€” p75 and p95 are where churn lives (see 4.5).
  4. Treat it as a feature with a budget, not a cleanup task. Cleanup tasks lose to roadmap items every quarter.

Trade-offs

InvestmentTypical return
Image optimisation + CDNLarge LCP win, low effort
Code splitting by routeLarge TTI/INP win, medium effort
SSR/SSG migrationLarge LCP win, high effort
Micro-optimising React rendersSmall win unless you have long tasks

Diminishing returns are real: going 6s β†’ 3s is transformative; 1.2s β†’ 1.0s rarely shows up in any business metric. Know which side of the curve you're on before spending a sprint.

Interview angle

"How do you justify a performance sprint to a product manager?"

  • Convert the metric into their language: p75 LCP, the conversion delta measured or benchmarked, and the revenue that implies.
  • Show the device gap β€” most stakeholders have never seen the site on a mid-tier Android on 4G.
  • Ask for a budget in CI instead of a one-off sprint, so the win doesn't erode by the next quarter.

Recap

  • Performance is revenue, retention, and reach β€” argue it in those terms.
  • Your users' devices are several times slower than yours; test that way.
  • Biggest gains are at the slow end of the curve; know where you sit.