Minimize main-thread work

Lighthouse shows a breakdown of execution timings on the main thread in the Diagnostics section:

Lighthouse: Minimize main-thread work
Minimize main-thread work.

How to improve execution timings on the main thread

Consider these tactics to reduce time spent parsing, compiling, and executing JS:

More information

Last updated: Improve article