Interactivity & Rendering · Glossary

    Main Thread Work

    On this page
    Main Thread Work

    TL;DR

    Main thread work is the cumulative time the browser's primary thread spends parsing HTML, evaluating and executing JavaScript, performing style and layout, and painting, before it can respond to interactions.

    What is Main Thread Work?

    Main thread work is the cumulative time the browser's primary thread spends parsing HTML, evaluating and executing JavaScript, performing style and layout, and painting, before it can respond to interactions.

    Read our guide: Website speed optimization guide. Or work with us through our done-for-you Core Web Vitals optimization services.

    How Main Thread Work is Measured

    Lighthouse reports total main thread work and a breakdown by activity category from a recorded trace.

    Share

    Written by

    Matt Suffoletto

    Founder & CEO

    Sources

    Ready to Get Started?

    Get your site optimized in as little as 3 days. From $500.