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

Add support for profiling benchmarks #1

Closed
bheisler opened this issue Mar 9, 2019 · 1 comment
Closed

Add support for profiling benchmarks #1

bheisler opened this issue Mar 9, 2019 · 1 comment

Comments

@bheisler
Copy link

bheisler commented Mar 9, 2019

This looks like a useful project! I've had a few folks ask for profiling support to be added to Criterion.rs; now I can direct them to cargo-flamegraph.

That being the case, it seems like it would be useful to have the ability to run cargo bench inside a profiler with cargo-flamegraph. Is that supported? I didn't see it in the documentation. Naturally, it should be possible to pass arguments to the benchmark executables as well, probably using the same -- separator that Cargo itself uses.

@kstrafe
Copy link

kstrafe commented Mar 15, 2019

This would be extremely useful

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