Browser & Web Performance · Junior · Question 26 of 75

Why does heavy JavaScript make a page feel slow even after it has loaded?

Explanation

Splitting work into smaller tasks, deferring non-critical code and moving heavy computation to workers keeps the main thread free.

Further reading

Problem with a question

Browser & Web Performance · Junior · question 26

Test yourself

Take the Browser & Web Performance · Junior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz