llogiq / flame

An intrusive flamegraph profiling tool for rust.
Apache License 2.0
694 stars 30 forks source link

Suiggestion: use inferno for flamegraphs #48

Open jonhoo opened 4 years ago

jonhoo commented 4 years ago

Now that inferno is relatively stable, and exposes separate APIs for both stack folding and producing flamegraphs, I wonder if it'd be interesting to see if we could make flame use inferno to generate the flamegraphs. That way you wouldn't need to vendor all the JS code and such into this project. You'd also get stack folding for free if you wished!