awesome-everything RU
↑ Back to the climb

Performance

Bundle budgets: free-recall review

Crux Free-recall prompts across the bundle-budgets unit. Answer each in your own words first, then reveal the model answer and compare.
Your altitude — climbing toward senior
ZeroJuniorMiddleSenior
You are at senior altitude — in orbit
◷ 14 min

Retrieval beats re-reading. For each prompt, say or write a full answer from memory before you open the model answer — the effort of recall is what makes the material stick.

Goal

Reconstruct the unit’s core mechanisms — the four-phase cost model, the splitting hierarchy, tree-shaking pitfalls, third-party mitigations, and the CI-plus-RUM enforcement loop — without looking back at the lessons.

Recall before you leave
  1. 01
    Name the four phases a JS bundle goes through before interactive, and say which are CPU-bound. Why does 'works on my laptop' fail?
  2. 02
    Give the 'Good' thresholds for LCP, INP, and CLS, and say which the bundle is a lever for.
  3. 03
    Explain route-level, component-level, and vendor splitting, and when each is the right choice.
  4. 04
    Why does importing one function from a CommonJS library ship the whole library, and what are the four pitfalls that defeat tree shaking?
  5. 05
    Why are third-party scripts the most common way to blow a bundle budget, and what are the three structural mitigations?
  6. 06
    Why is a bundle budget without a CI gate just an aspiration, and what is the full PR-merge-production enforcement stack? Include the anti-drift mechanism.
Recap

If you could reconstruct each answer from memory, you hold the unit’s spine: bytes are four CPU phases that hit mobile 4–8× harder than your laptop; LCP and INP move with shipped JS while CLS has its own causes; the reduction hierarchy is split, then shake, with compression a transport-only finisher; third-party scripts are the silent killer that needs its own budget and CSP; and none of it survives without a CI gate, RUM in production, and a ratcheting budget-raise protocol against drift.

Continue the climb ↑Bundle budgets: config and output reading
shortcuts expand
search
K
prev piece
k
next piece
j
cycle tier
t
this menu
?
sources3
expand
  1. 01
  2. 02
  3. 03

Trademarks belong to their respective owners. Editorial reference only.