Worshipping at the altar of Brendan Gregg Rewind added a `rewind time` command to its deterministic VM that reports a program's critical path alongside elapsed time, showing that a libuv 1.51.0 build and test run took 78.0 seconds on the VM's one CPU but has a critical path of 47.4 seconds, meaning no amount of parallelism can shorten it below that. The command applies Brendan Gregg's thread state analysis and off-CPU analysis, reporting that the run was 67% asleep (23.1 s in epoll_pwait, 8.53 s in clock_nanosleep, 100 ms in futex) and 33% computing, so a CPU profile would miss most of the wait time. Rewind logs every context switch, which the author says makes off-CPU analysis practical without the tracing overhead and noise of live-machine profiling. Okay, I am the first to admit that I’m a bit manic with AI. When you are working on a problem that has endless possibilities, it is difficult to constrain yourself to a limited set of features. Can I just add one more? I have been amazed at all the fun and useful things that a deterministic VM like Rewind https://rewindvm.dev enables. I have been using it to help find heisenbugs https://fzakaria.com/2026/10/03/rewind-vm-a-flaky-build-you-only-catch-once , to make profile-guided optimization reproducible https://fzakaria.com/2026/11/07/making-profile-guided-optimization-reproducible , and to make Nix builds bit-reproducible https://fzakaria.com/2026/11/09/what-if-every-nix-build-were-bit-reproducible . But the most fun has been using it to understand performance. Turns out that performance is yet another area where Rewind shines. I have been using it to analyze the critical path of builds. What is the critical path? The critical path is the longest chain of dependent work in a program. It is the minimum time that the program can take to complete, regardless of how many resources you throw at it. The only way to make a program faster is to shorten the critical path. If you worship at the altar of Brendan Gregg, you know he spent years turning performance analysis from a dark art into a science. This is a small offering to him. 🀲 I added a new rewind time command to Rewind that analyzes a recording and tells you where the time went and what would make the run finish sooner. You can drill into any part of that answer and see the source lines responsible for it. It’s like Brendan Gregg’s flame graphs https://www.brendangregg.com/flamegraphs.html but ~~on steroids~~ for the critical path and with a debugger attached.