Skip to content

Eliminate enum boxing allocations from Kestrel HTTP2 logging #19277

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 1 commit into from
Feb 24, 2020

Conversation

JamesNK
Copy link
Member

@JamesNK JamesNK commented Feb 24, 2020

ShowFlags boxes an enum. Unnecessary boxing is happening when log level won't output anything:

image

@JamesNK JamesNK changed the title Eliminate flags enum boxing allocations from Kestrel logging Eliminate enum boxing allocations from Kestrel HTTP2 logging Feb 24, 2020
@analogrelay analogrelay added this to the 5.0.0-preview2 milestone Feb 24, 2020
@JamesNK JamesNK merged commit d4ed4f7 into master Feb 24, 2020
@JamesNK JamesNK deleted the jamesnk/http2-flags-boxing branch February 24, 2020 18:29
@amcasey amcasey added area-networking Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions and removed area-runtime labels Jun 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-networking Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions feature-kestrel HTTP2
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants