pprof
pprof is a tool for visualization and analysis of profiling data
...It supports multiple profile types (CPU, heap, allocations, contention, etc.) and can present data as text tables, call graphs (via Graphviz/dot), flame graphs, and interactive web UIs. The tool helps developers find hot paths, quantify resource usage, and compare profiles across runs to validate performance changes. It is widely used in Go but also has bindings and exporters for other ecosystems, and the repository includes a Go package for reading and writing profiles programmatically. The pprof command can operate on local files or fetch from targets exposing profiling endpoints, supporting iterative, production-oriented workflows. ...