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

Refactor benchmarks to be more flexible #641

Merged
merged 2 commits into from
Dec 2, 2019
Merged

Conversation

glbrntt
Copy link
Collaborator

@glbrntt glbrntt commented Nov 29, 2019

Motivation:

Benchmarks are useful, but ours aren't very flexible since they require
having a gRPC connection. This makes it hard to benchmark smaller pieces
of code.

Modifications:

  • Refactor benchmarks to make them more flexible.
  • Added a benchmark to do 10k unary requests over an embedded channel

Result:

Easier to write benchmarks.

Motivation:

Benchmarks are useful, but ours aren't very flexible since they require
having a gRPC connection. This makes it hard to benchmark smaller pieces
of code.

Modifications:

- Refactor benchmarks to make them more flexible.
- Added a benchmark to do 10k unary requests over an embedded channel

Result:

Easier to write benchmarks.
@glbrntt glbrntt requested a review from MrMage November 29, 2019 17:25
@glbrntt glbrntt merged commit 1399e9d into grpc:nio Dec 2, 2019
@glbrntt glbrntt deleted the gb-benchmarks branch December 2, 2019 10:57
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