SpinTheMic
Pro

Explain it in 60 seconds

Long tasks and Interaction to Next Paint

Frontend Engineering · Async JavaScript and the Browser · Intermediate

What are long tasks, and how do they relate to Interaction to Next Paint (INP)?

What a strong answer covers

Your AI report card counts how many of these ideas you cover.

  • Long task: main thread work >50ms.
  • Blocks input handling and rendering.
  • INP measures responsiveness of interactions.
  • Causes: heavy handlers, rendering, third-party scripts.
  • Break up work, yield.
Practise this topic

Start without signing up. Sign in free to get an AI report card on your answer.

See all topics