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

Minor HTTP performance improvements #10441

Merged
merged 4 commits into from
Mar 13, 2024
Merged

Minor HTTP performance improvements #10441

merged 4 commits into from
Mar 13, 2024

Conversation

yawkat
Copy link
Member

@yawkat 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
@yawkat yawkat added the type: improvement A minor improvement to an existing feature label Feb 1, 2024
@yawkat yawkat added this to the 4.3.4 milestone Feb 1, 2024
*/
@Internal
public ArgumentBinder.BindingResult<ConvertibleValues<?>> convertibleBody;

Copy link
Contributor

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.

@sdelamo sdelamo changed the base branch from 4.3.x to 4.4.x February 7, 2024 17:01
@sdelamo sdelamo modified the milestones: 4.3.4, 4.4.0 Feb 7, 2024
@CLAassistant
Copy link

CLAassistant commented Feb 7, 2024

CLA assistant check
All committers have signed the CLA.

Copy link

sonarcloud bot commented Mar 13, 2024

Quality Gate Failed Quality Gate failed

Failed conditions
B Maintainability Rating on New Code (required ≥ A)

See analysis details on SonarCloud

Catch issues before they fail your Quality Gate with our IDE extension SonarLint

@yawkat yawkat merged commit 25182a2 into 4.4.x Mar 13, 2024
14 of 15 checks passed
@yawkat yawkat deleted the perfx branch March 13, 2024 10:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: improvement A minor improvement to an existing feature
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

5 participants