Skip to content

Web Performance Roadmap: Start Here (2 hours / 1 day / 1 week)

A guided entry point into the Web Performance roadmap with curated paths (2 hours / 1 day / 1 week) + exactly what to measure and why it matters in interviews.

Rajesh DhimanMarch 01, 20264 min read
On this page

If you’re preparing for frontend interviews (or you’re owning performance for a real production app), you don’t need 50 random tips.

You need a sequence:

  1. Know what to measure (and what “good” looks like)
  2. Find the bottleneck (don’t guess)
  3. Fix the critical path (LCP) and interaction path (INP)
  4. Re‑measure and keep guardrails

This page gives you the best path through the Web Performance roadmap.


Quick definitions (so you don’t get lost)

  • LCP (Largest Contentful Paint): when the main content looks ready.
  • INP (Interaction to Next Paint): how responsive the page feels when users click/type.
  • CLS (Cumulative Layout Shift): how stable the layout is while loading.

A senior way to talk about performance is: “What’s the critical path for LCP?” and “What’s the hot path for interactions?”


Choose your path

Path A — 2 hours (highest ROI)

If you only have 2 hours, do these in order:

  1. #01 Core Web Vitals: The Mental Model (LCP, INP, CLS)
  2. #02 Performance Debugging Playbook (Chrome DevTools + Real Signals)
  3. #09 Next.js Performance (RSC, streaming, caching)
  4. #05 JavaScript Cost (hydration, long tasks, shipping less JS)
  5. #12 Web Performance Interview Pack (top 25 Q&A)

You’ll be able to answer most performance questions with confidence, and more importantly: you’ll have a debugging loop.

Path B — 1 day (solid interview prep)

Do Path A, plus:

Path C — 1 week (production-ready)

Do Path B, plus:


What to measure (minimum setup)

If you’re interviewing, you should always be able to say:

  1. I measured it (not “I think it’s slow”)
  2. I located the bottleneck in DevTools
  3. I validated the fix (lab + field if possible)

Minimum metrics to track

  • LCP and the LCP element (what actually became the LCP)
  • INP (or at least long tasks + interaction delays)
  • CLS
  • TTFB (especially for SSR apps)

Minimum tooling

  • Chrome DevTools: Performance + Network
  • Lighthouse (lab) + a RUM signal (field) if possible

A senior debugging loop (copy/paste)

When someone says “this page is slow”, do this:

  1. Reproduce on a slower profile (CPU 4× / 6×, cache off on first run)
  2. Record a Performance trace while doing the real user action
  3. Find the first bottleneck:
    • LCP blocked by TTFB, render-blocking, or late resource discovery
    • INP blocked by long tasks, rerenders, or expensive handlers
  4. Fix in priority order:
    • shorten the critical path
    • ship less JS / reduce hydration
    • reduce rerenders
    • move work off the main thread
  5. Re‑measure and add a guardrail

Roadmap (1 → 15)


What’s next after this roadmap?

If you finish these lessons, the next best “performance multiplier” skills are:

  • React rendering fundamentals (rerenders, memoization, concurrency)
  • Next.js architecture (RSC boundaries, caching, streaming)
  • Observability (RUM + tracing + performance budgets)
Companion Book

Looking for structured, offline interview prep?

Free online lessons • Portable Amazon Kindle / Paperback

Frontend Interview Guide (2025 Edition) cover
Recommended for React & Frontend Rounds

Frontend Interview Guide (2025 Edition)

By Rajesh Dhiman

Comprehensive preparation covering React internals, Web Performance, CSS architecture, and system design questions.

View on Amazon ↗Kindle & Paperback
JavaScript Interview Guide cover
Recommended for Core JS Rounds

JavaScript Interview Guide

By Rajesh Dhiman

Deep dive into the Event Loop, microtask draining, closures, prototypal inheritance, and asynchronous execution patterns.

View on Amazon ↗Kindle & Paperback

Note: All lessons on Frontend Interview remain completely free to read online. As an Amazon Associate, we may earn from qualifying purchases.

RD

Written by Rajesh Dhiman

Authored by Rajesh Dhiman and engineered at Eunix Tech. Focused on deep-dive frontend engineering, JavaScript runtime internals, React architecture, and web performance.