flamegraph
« Back to VersTracker
Description:
Stack trace visualizer
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  @brendangregg  |  formulae.brew.sh
Category: Developer tools
Tags: performance profiling visualization debugging developer-tools
Install: brew install flamegraph
About:
FlameGraph is a performance analysis tool that generates interactive flame graphs from stack trace samples. It visualizes CPU usage by representing stack frames as horizontal bars, allowing developers to quickly identify performance bottlenecks. The tool processes folded stack traces to create SVG files that highlight the most frequent code paths.
Key Features:
  • Generates interactive SVG flame graphs from stack samples
  • Supports multiple profiling formats (perf, DTrace, StackCollapse)
  • Lightweight and language-agnostic
  • Provides flame graph diffing for before/after comparisons
  • Includes utilities for stack trace aggregation and folding
Use Cases:
  • Analyzing CPU performance bottlenecks in production systems
  • Comparing performance profiles before and after code changes
  • Visualizing application behavior under load testing
  • Debugging latency issues in microservices architectures
Alternatives:
  • pprof – Go-specific profiler with built-in flame graph support, less language-agnostic
  • perf report – Linux native profiler with TUI interface, requires perf data format
  • Xcode Instruments – macOS-only GUI profiler with flame graphs, not scriptable
Version History
Detected Version Rev Change Commit