All jobs / Frontend / web developer
Frontend / web developer interview question · 5+ years
Performance regresses every quarter despite fixes. How do you make it stick?
The strongest answer
Budgets enforced in CI, real-user metrics on a dashboard with owners, a performance review in the definition of done for new surfaces, and a habit of measuring before optimising — culture and tooling, not a sprint
Why it works
Right. Enforcement and ownership outlast sprints.
What a good answer covers
- Budgets in CI.
- Real-user metrics with owners.
- Performance in the definition of done.
- Measure before optimising.
Answers that fall short
- Close, but not the strongest: A performance sprint each quarter
The sprint's gains erode by the next. - Weak: A performance engineer who fixes everything
One person cannot review every change. - Red flag: Faster hardware for developers
Developer machines hide the user's reality.
Who gets asked this
More Frontend / web developer questions
- A trader UI keeps the whole order book in a WebSocket reducer. A blip shows an empty book. What is the socket…
- A setInterval inside useEffect always logs the initial count. Why?
- A member must not see 'Transfer ownership'. An admin must. What do you implement?
- When is useMemo worth it?
- Why wrap a handler in useCallback?
- The team argues whether a field is `userId` or `user_id`. What is OpenAPI for here?
- When does React.memo help, and when does it not?
- The register API can fail because the email is taken or because the password is too short. What should the UI…