dhat-to-flamegraph 2.0.0

Convert dhat JSON output to a flamegraph
dhat-to-flamegraph-2.0.0 is not a library.

Installation

$ cargo install dhat-to-flamegraph

Usage

Convert dhat JSON output to a flamegraph

Usage: dhat-to-flamegraph [OPTIONS] <INPUT>

Arguments:
  <INPUT>
          The dhat JSON file to process

Options:
  -o, --output <OUTPUT>
          Where to place the output
          
          If not provided then stdout is used.

  -f, --format <FORMAT>
          Which output format to use

          Possible values:
          - svg:    Format as svg (default)
          - folded: Format as folded stack traces

  -h, --help
          Print help (see a summary with '-h')

Usage example:

dhat-to-flamegraph fixtures/dhat-heap.json > out.svg
open out.svg

See Also

Safety

This crate uses #![deny(unsafe_code)] to ensure everything is implemented in 100% Safe Rust.

Contributing

Want to join us? Check out our "Contributing" guide and take a look at some of these issues:

License