Skip to content
Interactive Sandbox Suite

Node.js Runtime Simulation Lab

Interactive evaluation of the 6-phase Libuv event loop, thread pool offloading, stream backpressure buffers, and V8 generational garbage collection.

Libuv Asynchronous Runtime

The 6-Phase Libuv Event Loop & Microtask Interleaving

Phase 1 of 6: 1. Timers Phase
VIP Microtask Checkpoint: process.nextTick & Promise.then queues drain between every single phase!
Active Phase Inspection:

1. Timers Phase

setTimeout() & setInterval()

Executes expired timer threshold callbacks. Threshold represents the minimum delay, not exact guarantee.

Representative Handles Processed:
setTimeout(cb, 100) • setInterval(tick, 1000)