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

sync: add mpsc benchmarks of small, medium, and large message types #982

Merged
merged 1 commit into from
Mar 13, 2019

Conversation

seanmonstar
Copy link
Member

Since the mpsc channel allocates in blocks, there is a cost worth remembering in sending a single large message. However, sending many also shows the benefits of reclaiming the blocks!

@seanmonstar seanmonstar requested a review from carllerche March 13, 2019 17:21
@seanmonstar seanmonstar merged commit 1bc6d75 into master Mar 13, 2019
@seanmonstar seanmonstar deleted the sync-benches-large branch March 13, 2019 18:00
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.

2 participants