Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for probing #312

Open
iFrostizz opened this issue Mar 13, 2024 · 1 comment
Open

Support for probing #312

iFrostizz opened this issue Mar 13, 2024 · 1 comment

Comments

@iFrostizz
Copy link

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
Copy link
Contributor

djc commented Mar 13, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants