pprof is a tool for visualizing and analyzing performance profiling data. It converts sampled call stacks into a directed graph rendered as an SVG, enabling visual identification of execution hotspots. The tool also parses Linux perf.data files, converting them into an internal profile representation for further analysis.
Beyond visualization, pprof provides a command-line REPL for interactive exploration of profiling data, allowing users to filter, refine, and query performance information on the fly. It generates sorted text reports that highlight the most resource-intensive call stacks, and it can serve a local web dashboard for browsing and analyzing profiling data through an interactive interface.
The tool supports analysis of CPU and memory profiling data, including Go runtime performance profiles, presenting them as call graphs and flame graphs. It ingests data from sources like Linux perf, and offers both a shell-based and web-based interface for exploring and visualizing performance metrics.