Skip to content

Metrics

Long Tasks & LoAF

Any piece of JavaScript that occupies the main thread for more than 50 ms, blocking the page from responding.

While a long task runs, the browser cannot handle clicks, scrolls or paints, which is exactly what a visitor perceives as jank. Long Animation Frames (LoAF) is the newer API that goes further, attributing a slow frame to the script and even the source line responsible.

Long tasks are the raw material behind a poor INP or TBT. Finding and breaking them up, or moving work off the main thread, is the most direct way to make an interface feel fast.

Related terms

All terms

Monitoring that
belongs in the EU.

Read-only by default: no cookies*, no long-lived identifiers, no US provider in the data path. Live in about five minutes.

Light

€29/month

200,000 pageviews included.

Need debugging and all features? Standard from €99 for 1M pageviews. Enterprise on request. See all plans