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 benchmark and alloc test for GOAWAY teardown. #260

Merged
merged 1 commit into from
Nov 24, 2020

Conversation

Lukasa
Copy link
Contributor

@Lukasa Lukasa commented Nov 24, 2020

Motivation:

We don't have any benchmarks or alloc counter tests for doing stream
teardown with GOAWAY frames. While this isn't a terribly hot code path
and isn't terribly performance heavy with allocations, it's good to have
more data here.

Modifications:

  • Write benchmarks and alloc counter tests that tear down many streams
    with GOAWAY.

Result:

Better testing and alloc counter.

@Lukasa Lukasa added the semver/none No version bump required. label Nov 24, 2020
Motivation:

We don't have any benchmarks or alloc counter tests for doing stream
teardown with GOAWAY frames. While this isn't a terribly hot code path
and isn't terribly performance heavy with allocations, it's good to have
more data here.

Modifications:

- Write benchmarks and alloc counter tests that tear down many streams
  with GOAWAY.

Result:

Better testing and alloc counter.
@Lukasa Lukasa force-pushed the cb-bench-goaway-teardown branch from 4470553 to 47b2a1a Compare November 24, 2020 17:03
Copy link
Contributor

@glbrntt glbrntt left a comment

Choose a reason for hiding this comment

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

Looks good to me.

@Lukasa Lukasa merged commit 3315a63 into apple:main Nov 24, 2020
@Lukasa Lukasa deleted the cb-bench-goaway-teardown branch November 24, 2020 17:26
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