summaryrefslogtreecommitdiff
path: root/tools/http_benchmark.py
diff options
context:
space:
mode:
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."