gprof2dot
« Back to VersTracker
Description:
Convert the output from many profilers into a Graphviz dot graph
Type: Formula  |  Latest Version: 2025.4.14@0  |  Tracked Since: Oct 19, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: profiling visualization performance-analysis graphviz developer-tools
Install: brew install gprof2dot
About:
gprof2dot is a Python script that generates a visual call graph from profiling data. It takes output from various profilers like gprof, perf, and Python's cProfile, and converts it into a format that Graphviz can render. This allows developers to quickly identify performance bottlenecks and understand execution flow within their applications.
Key Features:
  • Supports multiple profiler formats (gprof, perf, Python cProfile, etc.)
  • Generates Graphviz dot graphs for visualization
  • Filters and focuses on specific parts of the call graph
  • Platform-independent Python script
Use Cases:
  • Identifying performance bottlenecks in C/C++ applications
  • Analyzing Python application performance with cProfile
  • Visualizing complex function call relationships
Alternatives:
  • kcachegrind – GUI-based profiler visualizer, primarily for callgrind format, more feature-rich but heavier
  • pprof – Google's profiler tool, excellent for Go/C++/Java, generates similar visualizations
Version History
Detected Version Rev Change Commit
Oct 19, 2025 10:44pm 0 VERSION_BUMP ab0e873c
Sep 13, 2024 12:07pm 0 VERSION_BUMP 0cec3851