summaryrefslogtreecommitdiff
path: root/tools/http_benchmark.py
diff options
context:
space:
mode:
authorLuca Casonato <lucacasonato@yahoo.com>2020-04-30 17:23:40 +0200
committerGitHub <noreply@github.com>2020-04-30 11:23:40 -0400
commit80e22111416751ce34dbc5cb32ffa9f293517370 (patch)
tree5b3fe5d16ee07143e5dcb2c766a1f48c296ad9d6 /tools/http_benchmark.py
parent4993a6504b4b447e0e02454094cffb02ee18c081 (diff)
Unstable methods should not appear in runtime or d.ts (#4957)
Co-authored-by: Kitson Kelly <me@kitsonkelly.com>
Diffstat (limited to 'tools/http_benchmark.py')
-rwxr-xr-xtools/http_benchmark.py9
1 files changed, 7 insertions, 2 deletions
diff --git a/tools/http_benchmark.py b/tools/http_benchmark.py
index fba11ba32..a4576695c 100755
--- a/tools/http_benchmark.py
+++ b/tools/http_benchmark.py
@@ -35,7 +35,11 @@ def get_port(port=None):
def deno_tcp(deno_exe):
port = get_port()
deno_cmd = [
- deno_exe, "run", "--allow-net", "tools/deno_tcp.ts",
+ # TODO(lucacasonato): remove unstable when stabilized
+ deno_exe,
+ "run",
+ "--allow-net",
+ "tools/deno_tcp.ts",
server_addr(port)
]
print "http_benchmark testing DENO tcp."
@@ -45,7 +49,8 @@ def deno_tcp(deno_exe):
def deno_http(deno_exe):
port = get_port()
deno_cmd = [
- deno_exe, "run", "--allow-net", "std/http/http_bench.ts",
+ deno_exe, "run", "--allow-net", "--reload", "--unstable",
+ "std/http/http_bench.ts",
server_addr(port)
]
print "http_benchmark testing DENO using net/http."