High-resolution timers, duration measurement, and fiber sleep.
Returns high-resolution monotonic millisecond timestamp since process start.
let start = clock_ms();
# execute task
let elapsed = clock_ms() - start;
println("Duration: " + to_string(elapsed) + " ms");
Suspends execution of the current fiber for the specified duration without blocking underlying OS threads.
sleep(500); # 0.5s pause