Skip to content

Optimize parseCharset method for best performance. #15203

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
Mar 4, 2025

Conversation

RainYuY
Copy link
Contributor

@RainYuY RainYuY commented Mar 3, 2025

What is the purpose of the change?

Optimize parseCharset method for best performance.
This is add optimize for pr #15188

Checklist

  • Make sure there is a GitHub_issue field for the change.
  • Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
  • Write necessary unit-test to verify your logic correction. If the new feature or significant change is committed, please remember to add sample in dubbo samples project.
  • Make sure gitHub actions can pass. Why the workflow is failing and how to fix it?

@RainYuY
Copy link
Contributor Author

RainYuY commented Mar 3, 2025

PTAL @oxsean

@codecov-commenter
Copy link

codecov-commenter commented Mar 3, 2025

Codecov Report

❌ Patch coverage is 83.33333% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 60.78%. Comparing base (317bee1) to head (44e6952).
⚠️ Report is 202 commits behind head on 3.3.

Files with missing lines Patch % Lines
...o/remoting/http12/message/DefaultHttpResponse.java 0.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##                3.3   #15203      +/-   ##
============================================
+ Coverage     60.75%   60.78%   +0.03%     
- Complexity    10885    10901      +16     
============================================
  Files          1885     1885              
  Lines         86071    86074       +3     
  Branches      12892    12893       +1     
============================================
+ Hits          52292    52324      +32     
+ Misses        28325    28299      -26     
+ Partials       5454     5451       -3     
Flag Coverage Δ
integration-tests 33.17% <0.00%> (+0.03%) ⬆️
samples-tests 29.20% <0.00%> (-0.02%) ⬇️
unit-tests 58.92% <83.33%> (+0.02%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@AlbumenJ AlbumenJ merged commit 3771339 into apache:3.3 Mar 4, 2025
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants