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

Need a way to do setup/teardown outside of profiling #135

Open
cgay opened this issue Apr 22, 2020 · 0 comments
Open

Need a way to do setup/teardown outside of profiling #135

cgay opened this issue Apr 22, 2020 · 0 comments

Comments

@cgay
Copy link
Member

cgay commented Apr 22, 2020

If a benchmark needs (for example) to create a temp file, there should be a way for it to do that and for the setup and teardown bits to happen outside of any performance measurements.

We could provide setup/teardown options for tests similar to those for suites, and run those outside of the profiling calls.

Or, provide a way to reset the profiling data back to zero. This would be more flexible, I suppose, but the setup/teardown feature would be nice to have for other reasons?

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

No branches or pull requests

1 participant