Repository navigation
stream: preserve mutable chunks in Web Stream adapters #64579
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
Open
seungwoo505
wants to merge
20
commits into
nodejs:main
Choose a base branch
from
seungwoo505:fix-writable-to-web-write
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+3,385
−94
Open
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
a667296
stream: preserve mutable chunks in Web Stream adapters
seungwoo505 16b663d
test: cover mutable Web Stream adapter writes
seungwoo505 531ada5
stream: simplify mutable chunk fallback
seungwoo505 72a0cbb
test: refine mutable Web Stream adapter coverage
seungwoo505 7e150d6
stream: use Float16Array from primordials
seungwoo505 09d8636
stream: optimize private BufferSource copies
seungwoo505 13e12b7
stream: optimize Web Stream write completion
seungwoo505 7ad3b90
stream: preserve native HTTP write validation
seungwoo505 ac63d9d
stream: preserve errors on premature writable close
seungwoo505 50ed406
test: deduplicate Web Stream adapter regressions
seungwoo505 7796966
doc: clarify mutable Web Stream chunk reuse
seungwoo505 1fa14c0
benchmark: add async writev adapter benchmark
seungwoo505 ca58486
stream: preserve Writable.toWeb batching and context
seungwoo505 4be4f8e
test: cover writable-to-web batching and context
seungwoo505 3830906
stream: update writable-to-web context handling
seungwoo505 21f40fc
buffer: pool independent backing stores for byte copies
seungwoo505 12377e8
stream: preserve independent chunks in Writable.toWeb
seungwoo505 4193b94
stream: streamline writable stream request queuing
seungwoo505 cd2096b
stream: preserve copy buffers for shared writes
seungwoo505 9f700c0
stream: remove V8 patches for Writable.toWeb
seungwoo505 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
Oops, something went wrong.
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.
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.
We should not be modifying this function for this
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.
I added onwrite as part of the copied-chunk _writev batching optimization to preserve async context across buffered writes.
Could you elaborate on your concern with changing writeOrBuffer() here?
I’d like to revise the approach accordingly.
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.
none of what you are talking about here matches the PR title, description or the bug you are trying to fix