Skip to content
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

reading from web readablestreams #65

Closed
KhafraDev opened this issue Mar 18, 2023 · 2 comments
Closed

reading from web readablestreams #65

KhafraDev opened this issue Mar 18, 2023 · 2 comments

Comments

@KhafraDev
Copy link
Member

Refs: nodejs/undici#2014

Reading from a web readable stream is still much slower than using a node stream, maybe there is some room for improvement? Using fetch's body mixins would improve perf if readablestreamdefaultreader.read was faster, and probably the ReadableStream's async iterator.

@metcoder95
Copy link
Member

Do we have an idea what could be a potential bottleneck? (Haven’t made an assessment yet)

@KhafraDev
Copy link
Member Author

this looks like a bug in undici actually

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants