-
Notifications
You must be signed in to change notification settings - Fork 29.8k
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
stream: improve read() performance #29337
Conversation
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.
This code is frankly quite difficult to understand, but I think this is correct.
@nodejs/streams |
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.
LGTM, good work! A CITGM run would be helpful to assess any breakage.
@mcollina What breakage? These changes consist of:
|
I'm skeptical of any side effect a change in streams can have at this point, so a run would not be a waste of time. CITGM: https://ci.nodejs.org/view/Node.js-citgm/job/citgm-smoker/1987/ |
I don't see anything suspicious on CITGM, LGTM from me. |
PR-URL: nodejs#29337 Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: David Carlier <[email protected]>
172edd9
to
98b7185
Compare
PR-URL: #29337 Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: David Carlier <[email protected]>
PR-URL: #29337 Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: David Carlier <[email protected]>
Benchmark results:
Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passes