CS Fundamentals Trainer · JavaScript · Performance & Memory

Put the phases of one interaction as measured by INP in order, first to last.

  1. Input delay: the event waits for the main thread to finish its current task
  2. Presentation delay: the browser recalculates style, lays out and paints
  3. Processing: the event handlers run
  4. The next frame appears on screen
  5. The user taps a button

Difficulty: medium

Answer this question

Related questions