flamegraph-rs / flamegraph

Easy flamegraphs for Rust projects and everything else, without Perl or pipes <3
Apache License 2.0
4.61k stars 141 forks source link

Support for probing #312

Open iFrostizz opened 6 months ago

iFrostizz commented 6 months ago

I'm currently using cargo-flamegraph to generate a flamegraph for a benchmark. The issue is that the runtime of the setup of the bench is so huge compared to the actual bench, which makes the part that matter invisible since it's too small as a comparison. I'm aware of the --min-width flag but it doesn't seem to help.

djc commented 6 months ago

If you're on Linux, I suggest using perf directly and passing its output to flamegraph.