Browser & Web Performance · Junior · Question 25 of 75
What is a long task on the main thread?
- ✓Correct answer: A task that runs for more than 50 ms
- 2Any task that runs longer than 1 ms
- 3A network request that takes more than 1 second
Explanation
While a long task runs, the browser can't respond to input or render, which hurts INP.