-
-
Notifications
You must be signed in to change notification settings - Fork 32.1k
test: add FastUtf8Stream tests #58964
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
base: main
Are you sure you want to change the base?
Conversation
As a first step to porting portions of the pino structured logger into the runtime, this commit ports the SonicBoom module to the fs module as FastUtf8Stream. This is a faithful port of the SonicBoom module with some modern updates, such as converting to a Class and using Symbol.dispose. The bulk of the implementation is unchanged from the original.
Review requested:
|
Thank you! I went ahead and added these to the original PR here. #58897 |
you're welcome, then I'm closing this pr ❤️ 🚀 |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #58964 +/- ##
==========================================
- Coverage 90.07% 90.02% -0.05%
==========================================
Files 640 642 +2
Lines 188442 189500 +1058
Branches 36971 37191 +220
==========================================
+ Hits 169735 170604 +869
- Misses 11424 11629 +205
+ Partials 7283 7267 -16
🚀 New features to boost your workflow:
|
I added the tests in sonicBoom to Node.js core accordingly
#58897, #58955
tests added: