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 more flexibility to perf tests #1354

Merged
merged 2 commits into from
Feb 7, 2022

Conversation

glbrntt
Copy link
Collaborator

@glbrntt glbrntt commented Feb 4, 2022

Motivation:

It's useful to run the perf tests in different configurations, e.g. to
compare NIOTS with NIOPosix or to measure the affect of using TLS.

Modifications:

Add two options to the perf test suite:

  • --use-nio-transport-services: uses a NIOTS event loop group if
    available on the host platform and,
  • --use-tls: uses TLS if the test runs both a client and server

Also exposes a --repeats option.

Result:

Tests are more flexible.

Motivation:

It's useful to run the perf tests in different configurations, e.g. to
compare NIOTS with NIOPosix or to measure the affect of using TLS.

Modifications:

Add two options to the perf test suite:
- `--use-nio-transport-services`: uses a NIOTS event loop group if
  available on the host platform and,
- `--use-tls`: uses TLS if the test runs both a client and server

Also exposes a `--repeats` option.

Result:

Tests are more flexible.
@glbrntt glbrntt added the semver/none No version bump required. label Feb 4, 2022
@glbrntt glbrntt requested a review from fabianfett February 4, 2022 13:15
@glbrntt glbrntt merged commit f79ef10 into grpc:main Feb 7, 2022
@glbrntt glbrntt deleted the gb-use-niots-if-available branch February 7, 2022 09:30
bimawa pushed a commit to StreamLayer/grpc-swift that referenced this pull request Jun 17, 2022
Motivation:

It's useful to run the perf tests in different configurations, e.g. to
compare NIOTS with NIOPosix or to measure the affect of using TLS.

Modifications:

Add two options to the perf test suite:
- `--use-nio-transport-services`: uses a NIOTS event loop group if
  available on the host platform and,
- `--use-tls`: uses TLS if the test runs both a client and server

Also exposes a `--repeats` option.

Result:

Tests are more flexible.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
semver/none No version bump required.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants