-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Minor HTTP performance improvements #10441
Conversation
yawkat
commented
Feb 1, 2024
- Use linux tcnative artifact for tests
- Negative compression threshold disables compression entirely
- Add an internal field to NettyHttpRequest for the NettyBodyAnnotationBinder convertible body cache, to avoid the attribute map
- Add a simple single-element cache to JacksonDatabindMapper for the reader/writer lookup
- Bypass ChannelPipeline.get if no logging handler is configured
- Use linux tcnative artifact for tests - Negative compression threshold disables compression entirely - Add an internal field to NettyHttpRequest for the NettyBodyAnnotationBinder convertible body cache, to avoid the attribute map - Add a simple single-element cache to JacksonDatabindMapper for the reader/writer lookup - Bypass ChannelPipeline.get if no logging handler is configured
*/ | ||
@Internal | ||
public ArgumentBinder.BindingResult<ConvertibleValues<?>> convertibleBody; | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was thinking we could have a custom object representing the body, which can accept some-kind of visitor, so we can avoid instanceof
for cases when the body is known.
# Conflicts: # http-server-netty/build.gradle
Quality Gate failedFailed conditions See analysis details on SonarCloud Catch issues before they fail your Quality Gate with our IDE extension SonarLint |