Long tasks
Limited availability
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."
Learning resources on MDN
Browser support
- Chrome 58 Released on 2017-04-19
- Chrome Android 58 Released on 2017-04-25
- Edge 79 Released on 2020-01-15
- Firefox ❌ See bugzil.la/1348405 Vendor position
- Firefox for Android ❌ See bugzil.la/1348405 Vendor position
- Safari ❌ Vendor position
- Safari on iOS ❌ Vendor position
Specifications
- Long Tasks API, from Web Performance Working Group (W3C).