cargo-flamegraph
« Back to VersTracker
Description:
Easy flamegraphs for Rust projects and everything else
Type: Formula  |  Latest Version: 0.6.10@0  |  Tracked Since: Dec 17, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: rust profiling performance flamegraph debugging
Install: brew install cargo-flamegraph
About:
cargo-flamegraph is a Cargo subcommand that simplifies the process of generating flamegraphs for Rust applications. It automates the invocation of performance profilers like perf or DTrace and the subsequent processing to create visual call-graphs. This tool helps developers quickly identify performance bottlenecks and optimize their code.
Key Features:
  • Automated profiling workflow via Cargo integration
  • Supports Linux perf and macOS DTrace
  • Generates interactive SVG flamegraphs
  • Works with Rust and non-Rust binaries
Use Cases:
  • Identifying hot code paths in Rust applications
  • Comparing performance before and after code changes
  • Debugging latency issues in production services
Alternatives:
  • cargo-profiler – cargo-profiler focuses on numeric metrics, while flamegraph provides visual call graphs.
  • perf – perf is a lower-level Linux profiler requiring manual setup, whereas cargo-flamegraph automates the process.
License: Apache-2.0 OR MIT
Bottles available for: arm64_tahoe, arm64_sequoia, arm64_sonoma, sonoma, arm64_linux, x86_64_linux
Version History
Detected Version Rev Change Commit
Nov 7, 2025 1:53pm 0 VERSION_BUMP e9912f35
Sep 12, 2025 6:12pm 0 VERSION_BUMP b0221102
Dec 28, 2024 3:11pm 0 VERSION_BUMP 6a6adf59
Dec 27, 2024 10:33pm 0 NEW 81f342f1