Web platform features explorer

Long tasks

The longtask performance event type and the PerformanceLongTaskTiming API provides information about tasks that occupy the UI thread for 50 milliseconds or more, a metric for input latency, delayed animations, and other sources of "jank."

Status

Limited availability

MDN documentation

Specifications

Browser support