Optimize long tasks | Articles | web.dev
You've been told "don't block the main thread" and "break up your long tasks", but what does it mean to do those things?