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 a simple example of using the teardown phase #160

Open
DhairyaLGandhi opened this issue Feb 24, 2020 · 1 comment
Open

Add a simple example of using the teardown phase #160

DhairyaLGandhi opened this issue Feb 24, 2020 · 1 comment

Comments

@DhairyaLGandhi
Copy link

Currently, the setup phase is documented properly, but a similar example of the teardown would be well appreciated as that quickly got lost when trying to work on some benchmarks I was working on recently. It wasn't obvious that my benchmark (specifically the teardown) was set up properly, and there wasn't a simple one-or-two liner in the docs that I could use to verify what I was doing was in fact how it is supposed to be.

@bjarthur
Copy link

further, the docstring for @benchmark doesn't even mention teardown

@gdalle gdalle added this to the v2.0 milestone Sep 18, 2023
@gdalle gdalle removed this from the v2.0 milestone Jan 5, 2024
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

3 participants