flamegraph-rs/flamegraph: Easy flamegraphs for Rust projects and everything else, without Perl or pipes <3
A Rust-powered flamegraph generator with additional support for Cargo projects! It can be used to profile anything, not just Rust projects! No perl or pipes required <3 How to use flamegraphs: what's a flamegraph, and how can I use it to guide systems performance work? Tip You might want to also try samply, which provides a more interactive UI using a seamless integration with Firefox's Profiler web UI. It is also written in Rust and has better macOS support. Relies on perf on linux and dtrace otherwise. Built on top of @jonhoo's wonderful Inferno all-rust flamegraph generation library! Windows is getting dtrace support, so if you try this out please let us know how it goes. :D Note: If you're using lld or mold on Linux, you must use the --no-rosegment flag. Otherwise perf will not be able to generate accurate stack traces (explanation). For example, for lld: and for mold: This will make the flamegraph and cargo-flamegraph binaries available in your cargo binary directory. On most syst
[cargo-]flamegraph A Rust-powered flamegraph generator with additional support for Cargo projects! It can be used to profile anything, not just Rust projects! No perl or pipes required <3 Built on top of @jonhoo's wonderful Inferno all-rust flamegraph generation library! Tip You might want to also try samply , which provides a more interactive UI using a seamless integration with Firefox's Profiler web UI. It is also written in Rust and has better macOS support. Quick Start Install it, and run # Rust projects cargo flamegraph # Arbitrary binaries flamegraph -- /path/to/binary How to use flameg
related reading
- Profiling a pod in Kubernetes with kubectl flame | Loic's Blogloicmathieu.fr
- Tristan's Site - Tristan Humethume.ca
- Speeding Up the Webcola Graph Viz Library with Rust + WebAssembly - Casey Primozic's Homepagecprimozic.net
- Watch: How to get started with Grafana Phlare for continuous profilinggrafana.com
- Announcing Grafana Phlare, the open source database for continuous profiling at massive scalegrafana.com
- Raycast - Your shortcut to everythingraycast.com
- All my favorite tracing tools: eBPF, QEMU, Perfetto, new ones I built and more - Tristan Humethume.ca
- Rewriting Bun in Rust | Bun Blogbun.com
- Configuring Blackfire Continuous Profiler for Rustdocs.blackfire.io
- UI Skills for Design Engineers | UI Skillsui-skills.com
- Paper Shaders – Ultra-fast zero-dependency shadersshaders.paper.design
- GitHub - grafana-cold-storage/phlare: 🔥 horizontally-scalable, highly-available, multi-tenant continuous profiling aggregation system · GitHubgithub.com