Performance Hands-On 18 - Annotate

Learning Objectives ๐ŸŽฏ

Exercise Instructions ๐Ÿ“‹

  1. Download the sample performance recording ๐Ÿ’พ
  2. Open Chrome DevTools (F12) and go to the Performance panel ๐Ÿ› ๏ธ
  3. Load the recording by clicking the "Load profile..." button ๐Ÿ“‚
  4. Analyze the annotations in the recording ๐Ÿ”ฌ
  5. Try to fix the performance issues in the code below ๐Ÿ”ง

Sample Problem ๐Ÿงช

Below is a button that when clicked, performs some expensive calculations and DOM manipulations. The performance recording contains annotations highlighting the issues.

Common Annotations You Might See ๐Ÿ’ก