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

Control number of wakes in benchmark streams #82

Open
yoshuawuyts opened this issue Nov 15, 2022 · 0 comments
Open

Control number of wakes in benchmark streams #82

yoshuawuyts opened this issue Nov 15, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@yoshuawuyts
Copy link
Owner

As mentioned in #80 (comment) our benchmark streams basically just yield once and then stop. Instead we should be able to control how often they yield before halting. In order to do this we'll need to rework our types a bit to support it.

This should make it easier to plot the differences using criterion. Right now our measurements of the difference between select! and stream::merge are fairly static. But if we can control the number of iterations we should get a better picture of what it's like when working with longer-lived streams.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant