-
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: readable cosmetics #28975
stream: readable cosmetics #28975
Conversation
d3f7ec9
to
4338824
Compare
@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
This needs a benchmark run (stream, http) to check if using let slow us down anyhow. I don’t expect any surprises here anyway.
@Trott can I get a benchmark CI on this? (stream, http) |
stream: https://ci.nodejs.org/view/Node.js%20benchmark/job/benchmark-node-micro-benchmarks/436/ |
Let's try again. Here's the streams benchmark: https://ci.nodejs.org/view/Node.js%20benchmark/job/benchmark-node-micro-benchmarks/438/ If that passes, maybe I'll try the http benchmark again.... |
Seems like there's some kind of odd git issue on the benchmark machine? @nodejs/build |
I don't think that's a git problem. I've blown away the workspace on server so you can try running it again. If it fails again then maybe start by looking at https://github.com/nodejs/benchmarking/blob/master/experimental/benchmarks/community-benchmark/run.sh because that's what's being run and the patch that's failing is occurring in there. |
Streams benchmark (if it works): https://ci.nodejs.org/view/Node.js%20benchmark/job/benchmark-node-micro-benchmarks/439/ |
@Trott: Is this missing anything? |
Our CI does not handle merge commits. Can you force-push it out? |
25150dd
to
7ff1e23
Compare
@Trott Sorry about that. Fixed. |
I'm sorry about the fact that we don't handle merge commits. 😆 |
I think this can land, but I would rather not use |
@mcollina Is that for the sake of older versions of Node.js running the readable-stream module? Or is the concern relevant to the current version of Node.js/V8? Just being extra cautious? Or even though the performance difference is very small in current V8, might as well stick with what is more performant, even if it is only very minimally so? Asking because I'm genuinely curious what your concern is (and so that I can maybe watch out for similar stuff elsewhere). |
Essentially all of this. |
@Trott: Land or Kill? This isn't really worth more energy. |
Some minor cleanup of readable.
Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passes