-
Notifications
You must be signed in to change notification settings - Fork 30.1k
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
benchmark: fix webstream pipe-to #49552
Merged
nodejs-github-bot
merged 1 commit into
nodejs:main
from
rluvaton:fix-webstream-pipe-benchmark
Sep 8, 2023
Merged
benchmark: fix webstream pipe-to #49552
nodejs-github-bot
merged 1 commit into
nodejs:main
from
rluvaton:fix-webstream-pipe-benchmark
Sep 8, 2023
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nodejs-github-bot
added
the
benchmark
Issues and PRs related to the benchmark subsystem.
label
Sep 8, 2023
rluvaton
commented
Sep 8, 2023
@@ -18,7 +18,7 @@ async function main({ n, highWaterMarkR, highWaterMarkW }) { | |||
const rs = new ReadableStream({ | |||
highWaterMark: highWaterMarkR, | |||
pull: function(controller) { | |||
if (i++ === n) { | |||
if (i++ < n) { |
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.
If I understand correctly, this does not call enqueue
as it closes the stream immediately
Fast-track has been requested by @rluvaton. Please 👍 to approve. |
ronag
approved these changes
Sep 8, 2023
rluvaton
added
the
author ready
PRs that have at least one approval, no pending requests for changes, and a CI started.
label
Sep 8, 2023
atlowChemi
approved these changes
Sep 8, 2023
rluvaton
added
the
commit-queue
Add this label to land a pull request using GitHub Actions.
label
Sep 8, 2023
nodejs-github-bot
removed
the
commit-queue
Add this label to land a pull request using GitHub Actions.
label
Sep 8, 2023
Landed in 7bf29b5 |
ruyadorno
pushed a commit
that referenced
this pull request
Sep 28, 2023
PR-URL: #49552 Reviewed-By: Robert Nagy <ronagy@icloud.com> Reviewed-By: Chemi Atlow <chemi@atlow.co.il>
alexfernandez
pushed a commit
to alexfernandez/node
that referenced
this pull request
Nov 1, 2023
PR-URL: nodejs#49552 Reviewed-By: Robert Nagy <ronagy@icloud.com> Reviewed-By: Chemi Atlow <chemi@atlow.co.il>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
author ready
PRs that have at least one approval, no pending requests for changes, and a CI started.
benchmark
Issues and PRs related to the benchmark subsystem.
fast-track
PRs that do not need to wait for 48 hours to land.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.