Checking support...
Feature Not SupportedThis browser does not support the Long Tasks API Web API feature. Try testing in a modern browser (such as Chrome, Edge, Safari, or Firefox).
Advertisement
Interactive Input Workspace
Ready for input
Web API Execution Output
Result output will be displayed here after processing...
Native JavaScript Code Example (Zero Libraries)
const obs = new PerformanceObserver(list => list.getEntries().forEach(console.log));
obs.observe({ entryTypes: ['longtask'] });About the Long Tasks API Web API
Long Tasks API reports tasks that take 50ms or longer to execute on the main thread.
Specification:W3C & WHATWG Web API Standard
Sponsored Content