Interactivity & Rendering · Glossary

    Long Tasks

    On this page
    Long Tasks

    TL;DR

    A long task is any task that occupies the browser main thread for more than 50 milliseconds, blocking it from responding to user input or rendering updates during that period.

    What is Long Tasks?

    A long task is any task that occupies the browser main thread for more than 50 milliseconds, blocking it from responding to user input or rendering updates during that period.

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

    How Long Tasks is Measured

    Long tasks are reported by the Long Tasks API and visible in the Performance panel of Chrome DevTools and in Lighthouse.

    Share

    Written by

    Matt Suffoletto

    Founder & CEO

    Sources

    Ready to Get Started?

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