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 collecting cProfile data from a benchmark #133

Open
mdboom opened this issue Jun 3, 2022 · 1 comment
Open

Support collecting cProfile data from a benchmark #133

mdboom opened this issue Jun 3, 2022 · 1 comment

Comments

@mdboom
Copy link
Collaborator

mdboom commented Jun 3, 2022

While this wouldn't be useful for absolute timing (benchmarking), it's sometimes handy to generate a profile from a benchmark to understand where the time is being spent. It's currently possible to do this by hacking up a benchmark script, but it would be better to make it as simple as:

python run_benchmark.py --profile output.profile
@mdboom
Copy link
Collaborator Author

mdboom commented Jun 3, 2022

I can't self-assign, but to be clear, I'm also offering to do this work ;)

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