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
- All my favorite tracing tools: eBPF, QEMU, Perfetto, new ones I built and more - Tristan Humethume.ca
- Configuring Blackfire Continuous Profiler for Rustdocs.blackfire.io
- GitHub - domcyrus/rustnet: Per-process network monitoring for your terminal with deep packet inspection. Cross-platform, sandboxed.github.com
- A half-hour to learn Rustfasterthanli.me
- GitHub - GoogleChrome/lighthouse: Automated auditing, performance metrics, and best practices for the web.github.com
- tracing_subscriber - Rustdocs.rs
- Profiling a pod in Kubernetes with kubectl flame | Loic's Blogloicmathieu.fr
- Profiling Go programs with pprofjvns.ca
- Diagnostics - The Go Programming Languagego.dev
- Watch: How to get started with Grafana Phlare for continuous profilinggrafana.com
- Rust Language Cheat Sheetcheats.rs
- GitHub - jlevy/the-art-of-command-line: Master the command line, in one pagegithub.com