-
Notifications
You must be signed in to change notification settings - Fork 29.6k
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 readable webstream pipeTo
#49690
stream: improve readable webstream pipeTo
#49690
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.
lgtm
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.
nice job!
Commit Queue failed- Loading data for nodejs/node/pull/49690 ✔ Done loading data for nodejs/node/pull/49690 ----------------------------------- PR info ------------------------------------ Title stream: improve readable webstream `pipeTo` (#49690) ⚠ Could not retrieve the email or name of the PR author's from user's GitHub profile! Branch rluvaton:improve-webstream-pipe-to-perf -> nodejs:main Labels performance, author ready, needs-ci, needs-benchmark-ci, web streams Commits 3 - stream: improve readable webstream `pipeTo` - stream: fix lint - stream: inline var Committers 1 - Raz Luvaton <16746759+rluvaton@users.noreply.github.com> PR-URL: https://github.com/nodejs/node/pull/49690 Reviewed-By: Matteo Collina Reviewed-By: Yagiz Nizipli Reviewed-By: Moshe Atlow ------------------------------ Generated metadata ------------------------------ PR-URL: https://github.com/nodejs/node/pull/49690 Reviewed-By: Matteo Collina Reviewed-By: Yagiz Nizipli Reviewed-By: Moshe Atlow -------------------------------------------------------------------------------- ℹ This PR was created on Sun, 17 Sep 2023 19:09:30 GMT ✔ Approvals: 3 ✔ - Matteo Collina (@mcollina) (TSC): https://github.com/nodejs/node/pull/49690#pullrequestreview-1630123133 ✔ - Yagiz Nizipli (@anonrig) (TSC): https://github.com/nodejs/node/pull/49690#pullrequestreview-1630128154 ✔ - Moshe Atlow (@MoLow) (TSC): https://github.com/nodejs/node/pull/49690#pullrequestreview-1630314547 ✔ Last GitHub CI successful ℹ Last Benchmark CI on 2023-09-17T19:12:26Z: https://ci.nodejs.org/view/Node.js%20benchmark/job/benchmark-node-micro-benchmarks/1392/ ℹ Last Full PR CI on 2023-09-18T04:32:27Z: https://ci.nodejs.org/job/node-test-pull-request/54022/ - Querying data for job/node-test-pull-request/54022/ ✔ Last Jenkins CI successful -------------------------------------------------------------------------------- ✔ No git cherry-pick in progress ✔ No git am in progress ✔ No git rebase in progress -------------------------------------------------------------------------------- - Bringing origin/main up to date... From https://github.com/nodejs/node * branch main -> FETCH_HEAD ✔ origin/main is now up-to-date - Downloading patch for 49690 From https://github.com/nodejs/node * branch refs/pull/49690/merge -> FETCH_HEAD ✔ Fetched commits as 1149d6b49de9..fac8ca681a0d -------------------------------------------------------------------------------- Auto-merging lib/internal/webstreams/readablestream.js [main 6c0ce1d299] stream: improve readable webstream `pipeTo` Author: Raz Luvaton <16746759+rluvaton@users.noreply.github.com> Date: Sun Sep 17 21:59:46 2023 +0300 1 file changed, 35 insertions(+), 16 deletions(-) Auto-merging lib/internal/webstreams/readablestream.js [main 678f8fc97a] stream: fix lint Author: Raz Luvaton <16746759+rluvaton@users.noreply.github.com> Date: Sun Sep 17 22:39:38 2023 +0300 1 file changed, 2 insertions(+), 2 deletions(-) Auto-merging lib/internal/webstreams/readablestream.js [main aa0654f732] stream: inline var Author: Raz Luvaton <16746759+rluvaton@users.noreply.github.com> Date: Sun Sep 17 22:57:16 2023 +0300 1 file changed, 1 insertion(+), 3 deletions(-) ✔ Patches applied There are 3 commits in the PR. Attempting autorebase. Rebasing (2/6)https://github.com/nodejs/node/actions/runs/6239919725 |
Landed in 346abdd |
PR-URL: #49690 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
PR-URL: nodejs#49690 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
improvement of ~60%
benchmark ci:
local tests