All jobs / Frontend / web developer / Performance
Frontend / web developer interview question · 3–5 years
Product asks if the new home is faster. What do you report?
The strongest answer
Field RUM — INP, LCP, CLS — by route, plus a lab trace for the regression; no single-reload vanity number
Why it works
Lab finds the bug; field tells you if users felt it. Percentiles and routes beat a screenshot score.
What a good answer covers
- Use field plus lab.
- Slice RUM by route and device.
- Reproduce the regression in a trace.
- Don't invent a percentage.
Answers that fall short
- Close, but not the strongest: One Lighthouse run on my laptop
Laptop Lighthouse is a clue, not a ship decision. - Weak: Say it feels faster
Feel is a starting observation, not evidence. - Red flag: Quote a big percentage from a single reload
Invented percentages fail the honesty bar and the room.
Who gets asked this
More Performance questions
- How do you ingest Web Vitals without drowning the backend or leaking PII?
- How do you keep marketing JS from growing without anyone noticing?
- Ten thousand rows in a div and the tab dies. What do you do?
- A feature flag flips the hero after hydrate (flicker). How do you prevent it?
- An SSR page waits for user, then cart, then recommendations, sequentially. What's the issue and the fix?
- A content site with a few interactive widgets — full CSR SPA or islands / edge?
- Personalized HTML at the edge versus cache hit ratio — how do you decide?
- How does a frontend platform prove it is not making products slower?