-
Notifications
You must be signed in to change notification settings - Fork 29.7k
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
util: add fast path for Latin1 decoding #55275
base: main
Are you sure you want to change the base?
Conversation
Review requested:
|
2dd0714
to
b871573
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #55275 +/- ##
==========================================
- Coverage 88.41% 88.39% -0.03%
==========================================
Files 652 652
Lines 186612 186799 +187
Branches 36062 36120 +58
==========================================
+ Hits 165001 165117 +116
- Misses 14885 14944 +59
- Partials 6726 6738 +12
|
Can you update benchmarks as well? |
Co-authored-by: Yagiz Nizipli <[email protected]>
I wonder if this is the right place. |
Would be nice to have before/after benchmark numbers, even if it is just on someone's laptop. |
I think I shared my comparison with you in a wrong way, I'm sorry, there is a lot of data, I wonder if you have a suggestion on this |
Co-authored-by: Yagiz Nizipli <[email protected]>
Try something like this...
Replace mynewnode and myoldnode by the actual node binaries. |
You need to update the benchmark file to actually test |
Co-authored-by: Yagiz Nizipli <[email protected]>
Co-authored-by: Daniel Lemire <[email protected]>
so here we are, we've started a benchmark, @RafaelGSS thanks |
Failed to start CI⚠ Something was pushed to the Pull Request branch since the last approving review. ✘ Refusing to run CI on potentially unsafe PRhttps://github.com/nodejs/node/actions/runs/11675818532 |
@anonrig @mertcanaltin Where is this issue at? It has been opened for a long time. |
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.
Approving to run the CI
I added a fast path for Latin1 (windows-1252) decoding to improve performance. This change avoids using the slower ICU-based decoding for Latin1 and instead utilizes a direct approach, similar to the fast path implemented for UTF-8.
nodejs/performance#178