Avoid long tasks that block the browser's main thread, preventing other tasks in the queue from executing. The "long tasks API" identifies any task longer than 50ms as potentially problematic. RAIL guidelines dictate the browser must respond to user input within 100ms.