mirror of
https://github.com/denoland/deno.git
synced 2024-12-21 23:04:45 -05:00
569287b15b
This commit adds a fast path to `Request` and `Response` that make consuming request bodies much faster when using `Body#text`, `Body#arrayBuffer`, and `Body#blob`, if the body is a FastStream. Because the response bodies for `fetch` are FastStream, this speeds up consuming `fetch` response bodies significantly. |
||
---|---|---|
.. | ||
fs | ||
http | ||
testdata | ||
async_ops.js | ||
cache_api.js | ||
console.js | ||
deno_common.js | ||
encode_into.js | ||
http.rs | ||
lsp.rs | ||
lsp_bench_standalone.rs | ||
main.rs | ||
metrics.rs | ||
op_now.js | ||
README.md | ||
secure_curves.js | ||
tcp.js | ||
tty.js | ||
url_parse.js | ||
write_file.js |
benchmark filtering:
cargo bench --bench deno_bench -- bundle
benchmark plots:
new: https://denoland.grafana.net/d/vErC9VCnz/benchmarks?orgId=1 old: deno.land/benchmarks