flamegraph
October 7, 2021 ยท View on GitHub
flamegraph is a tool to produce Flame Graph from measureme data.
Example
# Install flamegraph if you haven't done so yet.
$ cargo install --git https://github.com/rust-lang/measureme --branch stable flamegraph
$ git clone https://github.com/rust-lang/regex.git
$ cd regex
$ cargo rustc -- -Z self-profile
$ flamegraph regex-{pid}.mm_profdata
$ open rustc.svg