summaryrefslogtreecommitdiff
path: root/tools/http_benchmark.py
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2020-04-10 09:51:17 -0400
committerGitHub <noreply@github.com>2020-04-10 09:51:17 -0400
commit02bc58d83253fd3be61787bb28b6b02e3aa71092 (patch)
tree287491a848ee9fecf1e1e983841f040bc9bec0a4 /tools/http_benchmark.py
parentbe71885628c3820cc4e62d229326de16a6830fec (diff)
BREAKING: Make fetch API more web compatible (#4687)
- Removes the __fetch namespace from `deno types` - Response.redirect should be a static. - Response.body should not be AsyncIterable. - Disables the deno_proxy benchmark - Makes std/examples/curl.ts buffer the body before printing to stdout
Diffstat (limited to 'tools/http_benchmark.py')
-rwxr-xr-xtools/http_benchmark.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/http_benchmark.py b/tools/http_benchmark.py
index d5067d86b..fba11ba32 100755
--- a/tools/http_benchmark.py
+++ b/tools/http_benchmark.py
@@ -140,7 +140,8 @@ def http_benchmark(build_dir):
"deno_tcp": deno_tcp(deno_exe),
# "deno_udp": deno_udp(deno_exe),
"deno_http": deno_http(deno_exe),
- "deno_proxy": deno_http_proxy(deno_exe, hyper_hello_exe),
+ # TODO(ry) deno_proxy disabled to make fetch() standards compliant.
+ # "deno_proxy": deno_http_proxy(deno_exe, hyper_hello_exe),
"deno_proxy_tcp": deno_tcp_proxy(deno_exe, hyper_hello_exe),
# "deno_core_http_bench" was once called "deno_core_single"
"deno_core_http_bench": deno_core_http_bench(deno_core_http_bench_exe),