Skip to content

Loading speed, web and servers

long task

Definition
A long task is work that occupies the browser's main thread for so long that input has to wait noticeably. It is usually caused by extensive JavaScript, for example from frameworks or third-party scripts. Splitting long tasks into smaller steps can improve a page's response time.