In short
This diagnostic splits the browser's main-thread time into categories: script evaluation, style and layout, rendering, parsing HTML and CSS, script parsing and compilation, garbage collection and other. It tells you what kind of work dominates. Script evaluation is usually the biggest; if style and layout are large, look at DOM size and forced reflows.
When it passes, PageSpeed lists this as "Minimizes main-thread work — X s."
Category to fix
| Category | Look at |
|---|---|
| Script evaluation | Reduce JavaScript execution time, 3rd parties |
| Style and layout | Optimize DOM size, Forced reflow |
| Rendering | Non-composited animations, large paint areas |
| Parse HTML and CSS | Huge HTML or CSS files |
This guide isn't affiliated with or endorsed by Google.
Related issues
Sources and references
Chrome for Developers, Minimize main-thread work

About the author
Nazmul Nikhil
Head of SEO & Assistant Manager, Digital Marketing at Notionhive
SEO and AI search consultant in Dhaka, Bangladesh, helping small and mid-size businesses in the USA, UK, Australia and Canada.



