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 ping-pong benchmark to crossbeam-channel #492

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

Conversation

vgatherps
Copy link

Ping-pong is an important benchmark since it measure latency
characteristics of the transport as opposed to plain throughput
characteristics. In addition, it also is a decent test of the
empty-channel read cost

Ping-pong is an important benchmark since it measure latency
characteristics of the transport as opposed to plain throughput
characteristics. In addition, it also is a decent test of the
empty-channel read cost
@vgatherps
Copy link
Author

While I'm sure it's possible, it wasn't actually clear how to do a clean ping-pong benchmark with the futures channels so I haven't added one yet.

I also didn't update the benchmark png since I have a different machine, and don't necessarily want to push a totally new set of baseline numbers. The generated one is here: https://i.imgur.com/O9b9CLx.png

@SUPERCILEX
Copy link

@taiki-e any reason this wasn't merged?

@bsilver8192
Copy link

This is a more complete version of what I wrote for demonstrating #821. I think having it as an official benchmark to measure performance of is valuable.

@taiki-e
Copy link
Member

taiki-e commented May 28, 2022

Sorry for the late response. I've read the first half of the #492 (comment) and assumed this was a WIP state. Otherwise, I think adding such a benchmark is fine.

@taiki-e taiki-e added the S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author label May 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
crossbeam-channel S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author
Development

Successfully merging this pull request may close these issues.

None yet

5 participants