Skip to content

Update BenchmarkDotNet and add Http2Connection benchmark #19482

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

Merged
merged 5 commits into from
Mar 3, 2020

Conversation

JamesNK
Copy link
Member

@JamesNK JamesNK commented Mar 1, 2020

Adds a high-level Http2Connection benchmark

I found that BenchmarkDotNet was not correctly measuring allocations, I'm guessing because they're happening in the connection event loop thread and not the benchmark thread.

Our BenchmarkDotNet version is over two years old. Updating it to the latest version correctly measures allocations.

Does BenchmarkDotNet in this repo have any external callers?

@JamesNK JamesNK requested a review from sebastienros March 1, 2020 22:25
@JamesNK JamesNK added this to the 5.0.0-preview2 milestone Mar 1, 2020
@JamesNK JamesNK added the area-infrastructure Includes: MSBuild projects/targets, build scripts, CI, Installers and shared framework label Mar 2, 2020
@JamesNK
Copy link
Member Author

JamesNK commented Mar 2, 2020

Talked with @sebastienros and only thing external tools care about is the CSV output which should be unchanged.

@JamesNK JamesNK force-pushed the jamesnk/http2-connection-benchmark branch from 5575be7 to 60dd0ca Compare March 3, 2020 01:07
@JamesNK JamesNK merged commit b1a45eb into master Mar 3, 2020
@JamesNK JamesNK deleted the jamesnk/http2-connection-benchmark branch March 3, 2020 04:17
@amcasey amcasey added area-networking Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions and removed area-runtime labels Jun 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-infrastructure Includes: MSBuild projects/targets, build scripts, CI, Installers and shared framework area-networking Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants