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 Becnher.iter_reuse #830

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

IgorErin
Copy link

@IgorErin IgorErin commented Dec 7, 2024

Hello! In my scenario for benchmarking asynchronous runtime, I needed to reuse a preallocated buffer that moved through several closures and was cleared after each start.

It seemed to me that this feature is not currently supported natively in criterion, so I suggest my own version, in the hope that it will be useful to others.

Thank you in advance!

@IgorErin
Copy link
Author

@bheisler The guide says to pull you in case of a long wait.

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

Successfully merging this pull request may close these issues.

1 participant