Performance
JavaScript learning path
Master performance through 10 carefully ordered interview questions. Each lesson includes a detailed explanation, practical example, common mistakes, and an interview-ready summary.
10 questions4 easy · 3 medium · 3 hard difficulty mix≈ 50 min total study time
Start this learning path Quick knowledge check
Test your Performance knowledge
Match five interview questions to their best answers. Your result stays on this device.
Table of contents
Work through the questions in order for a guided path, or jump directly to the concept you want to review.
01What causes a memory leak in JavaScript?easy · junior level · 5 min read02What is debouncing?medium · mid level · 5 min read03What is throttling?hard · senior level · 5 min read04What is memoization?easy · junior level · 5 min read05What is a layout thrash?medium · mid level · 5 min read06How can you avoid unnecessary reflows and repaints?hard · senior level · 5 min read07What is code splitting?easy · junior level · 5 min read08What is tree shaking?medium · mid level · 5 min read09How do you profile a slow web page?hard · senior level · 5 min read10When should you use `requestAnimationFrame`?easy · junior level · 5 min read