On a live machine you have to start tracing before the slow run happens, and tracing has a cost, so you only get a few attempts. Here every recording already logs every context switch because the VM needs them to replay, so the off-CPU and wakeup analysis can be done afterwards, on any run. The hrtime test is a useful distinction too: it accounts for 3.38s of the critical path, but the sleep is intentional, so the drag you can actually remove is zero.
All comments shown.
Couldn't load more comments. Check your connection and try again.
Comments (47) 14 threads
Earlier commentsAll comments shown.
Couldn't load more comments. Check your connection and try again.