Urgent.News

What's breaking now, across hundreds of outlets.

Tech

Worshipping at the altar of Brendan Gregg

Brendan Gregg is a renowned figure in the field of performance analysis, having spent years refining techniques and methods. This article explores how Rewind, a deterministic VM, can be used to analyze performance and uncover hidden insights. The author demonstrates how Rewind's new time command analyzes a recording to pinpoint where time is spent and how to improve build times.

By drilling down into specific parts of the critical path, the author showcases how Rewind can reveal the source code responsible for delays, even down to individual function calls. The example of a libuv build and test run is used to illustrate the process, highlighting the importance of off-CPU analysis and how it can uncover insights that CPU profiling alone cannot.

The article emphasizes the power of Rewind's deterministic nature, allowing users to replay the execution at specific points and investigate issues in detail using GDB. The visual representation of the path as a flame graph, with computing in warm colors and asleep in blue, provides an intuitive way to understand the performance profile.

Ultimately, the author encourages readers to explore Rewind's capabilities and apply them to their own performance analysis needs.

Rewritten by urgent.news; may contain errors — check the original.

Source: fzakaria.com

Read the original at fzakaria.com →

Report a problem with this story

More in Tech

More from Tuesday 24 November →