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

suggested workflow for profiling benchmarks? #72

Open
BurntSushi opened this issue Feb 2, 2025 · 0 comments
Open

suggested workflow for profiling benchmarks? #72

BurntSushi opened this issue Feb 2, 2025 · 0 comments

Comments

@BurntSushi
Copy link

A common workflow with criterion (and #[bench] before that) for me is to run the benchmarks without collecting results. This is criterion's --profile-time flag, for example. Then I can run them under a profiler like perf. I scanned the blog but couldn't find anything about profiling. I see #38, but I would prefer something that just lets me run the benchmark with the harness getting out of the way as much as possible. Then I can hook it up to any profiling tool.

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

1 participant