Browser & Web Performance · Middle · Question 9 of 75
What is the main thread responsible for in a typical browser tab?
- ✓Correct answer: Running JavaScript, style calculation, layout and most painting work
- 2Only downloading resources
- 3Only compositing layers on the GPU
Explanation
Networking and compositing run on other threads, but JS and most rendering share the main thread, so they compete.