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

benchmark: add a feature for read and write buffer sizes #5774

Merged
merged 2 commits into from
Nov 30, 2022

Conversation

atollena
Copy link
Collaborator

@atollena atollena commented Nov 7, 2022

The read and write buffer sizes have an impact on performance, but they are currently hard-coded.

This change adds command line flags for running the benchmarks with specific sizes for those buffers.

RELEASE NOTES: none

@zasweq zasweq self-requested a review November 8, 2022 18:50
@zasweq zasweq self-assigned this Nov 8, 2022
@zasweq zasweq added this to the 1.52 Release milestone Nov 8, 2022
@easwars easwars assigned atollena and unassigned zasweq Nov 10, 2022
The read and write buffer sizes have an impact on performance, but they are currently hard-coded.

This change adds command line flags for running the benchmarks with specific sizes for those
buffers.
benchmark/benchmain/main.go Show resolved Hide resolved
@easwars easwars assigned zasweq and unassigned easwars Nov 29, 2022
@easwars
Copy link
Contributor

easwars commented Nov 29, 2022

@atollena : Apologies for the delayed review.

@zasweq : For second set of eyes.

Copy link
Contributor

@zasweq zasweq left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks for doing this. Read the back and forth, all makes sense to me. Agreed that this code is convoluted.

@zasweq zasweq assigned atollena and unassigned zasweq Nov 30, 2022
@atollena
Copy link
Collaborator Author

@zasweq I don't have permission to merge on the repository, so you actually need to merge the change for me. Thank you!

@zasweq zasweq merged commit 94f0e7f into grpc:master Nov 30, 2022
@zasweq
Copy link
Contributor

zasweq commented Nov 30, 2022

Done :). Thanks for the contribution.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 30, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants