Crate flamescope

Source
Expand description

Export flame data to speedscope’s profile format.

Base profile’s are derived from top-level spans, so it’s recommended to ensure that you have an appropriately named span that encompasses the entire run of the program.

Modules§

model

Functions§

dump
Dump flame spans to a writer, e.g. a file.
spans_to_speedscope
Convert flame spans to the speedscope profile format.
write_spans
Dump flame spans to a writer, e.g. a file, specifying the spans you want to write.