A performance API to enable applications to detect presence of “long tasks” that monopolize the UI thread for extended periods of time and block other critical tasks from being executed - e.g. reacting to user input.
Docs: https://github.com/w3c/longtasks https://developer.mozilla.org/en-US/docs/Web/API/Long_Tasks_API