Discover and explore top open-source AI tools and projects—updated daily.
flamegraph-rsRust CLI tool for generating flamegraphs
Top 9.0% on SourcePulse
This project provides a Rust-native flamegraph generator, simplifying performance analysis for Rust projects and arbitrary binaries without requiring Perl or external pipes. It targets developers and system administrators needing to identify performance bottlenecks.
How It Works
The tool leverages the inferno Rust library for generating flamegraphs from sampled stack traces. It supports various profiling backends including perf on Linux, dtrace on macOS, and a native blondie library on Windows. This allows for cross-platform profiling with a single, consistent Rust-based tool.
Quick Start & Requirements
cargo install flamegraph.linux-perf.dtrace (run with sudo).blondie or dtrace if installed.cargo flamegraph. For arbitrary binaries, use flamegraph -- /path/to/binary.Highlighted Details
cargo for profiling Rust applications.Maintenance & Community
The project is actively maintained. Community support channels are not explicitly mentioned in the README.
Licensing & Compatibility
Limitations & Caveats
Profiling release builds may sometimes yield less detailed information due to optimizations, though debug = true in Cargo.toml can mitigate this. Ubuntu aarch support for perf is noted as not working, recommending Debian or a PR.
1 day ago
1 day
mlabonne
HelixDB
benchmark-action
SWE-bench