Long task
JavaScript running for more than ~50 milliseconds on the main thread, blocking user input and animations.
The browser's main thread can only do one thing at a time. If a script takes longer than ~50 ms to run, the browser can't respond to clicks, keyboard input, or animations within that window. The Long Task API exposes these blocking executions so developers can measure and break them up. Long tasks are among the biggest culprits for poor Web Vitals scores.