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

perf(fetch): fast path Uint8Array in extractBody() #12351

Merged
merged 2 commits into from
Oct 7, 2021

Conversation

AaronO
Copy link
Contributor

@AaronO AaronO commented Oct 7, 2021

Reduces overhead of new Response(pre_encoded_body) by ~10% (~345ns/op -> ~315ns/op)

Reduces overhead of `new Response(pre_encoded_body)` by ~10% (~345ns/op -> ~315ns/op)
@AaronO AaronO merged commit 7e38ae1 into denoland:main Oct 7, 2021
@AaronO AaronO deleted the perf/extractBody-uint8array-fastpath branch October 7, 2021 20:57
bartlomieju pushed a commit to bartlomieju/deno that referenced this pull request Oct 10, 2021
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

Successfully merging this pull request may close these issues.

2 participants