flamegraph-rs/flamegraph
53.3
Weak · 14 November 2026
1.2k
lines of production code
Rust
primary language
5
measurements over time
What this system is
Features
Initial release of cargo-flamegraph
This entry marks the initial check-in of the cargo-flamegraph project, introducing a Rust-powered flamegraph generator for profiling Rust Cargo projects and arbitrary binaries. The release includes the core application code, dual Apache-2.0 and MIT licensing, a \.gitignore\ file, and a \.rustfmt.toml\ configuration. It also provides comprehensive documentation in \README.md\ covering installation and usage on Linux, macOS, and Windows, along with an example SVG flamegraph visualization.
(repo-wide) · high confidence
Introduce lib.rs with cross-platform profiling backend abstraction
The new src/lib.rs file establishes the core library logic for the tool, defining a Workload enum to support profiling by command, PID, or reading existing perf.data files. It implements platform-specific arch modules: on Linux, it orchestrates perf record and script commands (including sudo handling and progress indicators), while on macOS, it integrates with xctrace for profiling. The library also handles symbol demangling using rustc\_demangle and quick-xml, manages signal hooks for clean shutdown, and provides the foundational infrastructure for generating flamegraphs across supported operating systems.
src · high confidence
Behavioural changes
Split into cargo-flamegraph subcommand and standalone flamegraph binary
The tool is now distributed as two separate binaries in src/bin: \cargo-flamegraph\, which acts as a Cargo subcommand for profiling Rust projects (supporting binaries, tests, benchmarks, and unit tests via specific Cargo flags), and \flamegraph\, a standalone CLI for profiling running processes by PID or analyzing existing perf.data files. This separation allows the standalone binary to handle system-level profiling tasks independently of the Cargo ecosystem, while the Cargo subcommand focuses on building and profiling Rust artifacts.
src/bin · high confidence
Dependencies
152 commits updating dependencies (2 manifests)
A dependency / build maintenance change in (dependencies) — 152 commits (2 fixs), 2 files: “Take semver-compatible dependency updates”; “update dependencies”; “Update semver-compatible dependencies”; and 127 more (refs \#435, \#374, \#183, \#45, \#172, …).
(dependencies) · high confidence · unverified
Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
How this codebase got here
Score
- CAI 58 → 53 (-5.1)
- Rubric changed (rubric-2026.10.5 → rubric-2026.11.4) — scores are not directly comparable.
Lenses
- Code Health 96 → 94 (-1.9)
- Architecture 69 → 69 (+0.0)
- Maturity 52 → 52 (+0.0)
- Readiness 49 → 39 (-10.4)
- Security 95 → 95 (-0.2)
Resolved (9)
- Duplicated block (10 lines × 2) (src/bin/cargo-flamegraph.rs)
- Duplicated block (9 lines × 2) (src/bin/cargo-flamegraph.rs)
- Medium CVE: RUSTSEC-2026-0381 (Cargo.lock)
- Medium CVE: RUSTSEC-2026-0382 (Cargo.lock)
- Medium advisory (unsound): RUSTSEC-2026-0386 (Cargo.lock)
- Medium vulnerability: [GHSA redacted] (Cargo.lock)
- Medium vulnerability: RUSTSEC-2026-0344 (Cargo.lock)
- No ADRs found
- No automated tests
New (3)
- Duplicated block (12 lines × 2) (src/bin/cargo-flamegraph.rs)
- Low coverage: src/lib.rs (src/lib.rs)
- No ADRs found (Cargo.toml)
Changes since last survey
- 3 commits — 3 feature/other, 0 fixes
By area
- (root) — 3 commits
Notable commits
- change: Bump version to 0.6.15
- change: Take semver-compatible dependency updates
- change: Upgrade blondie to 0.6
Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
Survey your own repository
flamegraph-rs/flamegraph was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.
About this page
- The score is its most recent published measurement, taken on 14 November 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
- Measured at commit da17b953ffc88883e3362865bea4ea93a6264f49 — the exact code this score is about.
- Scored under rubric-2026.11.4 — the same rubric and the same method as every other entry in this index.
- Measured by Canine Code Analyzer (cca.canine.dev) using cca measure-2026.11.65+preprod-e1a3b69fc8ee.