All Production Symptoms
Production Symptom3 Causal Mechanisms

An async loop freezes the browser main thread completely

Unbounded Promise/microtask chains starve the rendering step between macrotasks and block all user input until the microtask queue drains.

DevTools / RUM Signature
Long Task > 5000 ms; DevTools Performance shows continuous Microtask Checkpoint draining with zero Paint frames

Causal Chain of Browser Mechanisms

Ordered from trigger to root invariant. Open any mechanism to inspect its internals or reproduce the behavior in an interactive lab.

Step 1
JS RuntimeBaseline · Widely

Prevent 60fps frame starvation and Promise-loop freezes—the Event Loop drains the entire Microtask Queue after every single macrotask before painting.

Step 2
JS RuntimeBaseline · Widely

Fix sluggish clicks and fail-threshold INP (>200 ms) by breaking >50 ms Long Tasks—Input Delay, Processing Duration, and Presentation Delay all compete on one main thread.

Step 3
JS RuntimeBaseline · Widely

Understand stack overflows, Temporal Dead Zone errors, and closure heap promotion—every call pushes an Execution Context frame onto V8's single-threaded Call Stack.