flâneur — a map of the web's best reading

flamegraph-rs/flamegraph: Easy flamegraphs for Rust projects and everything else, without Perl or pipes <3

github.com · 3,035 words · saved by 1 readers

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

Explore this link on the map →

related reading