summaryrefslogtreecommitdiff
path: root/tools/http_benchmark.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/http_benchmark.py')
-rwxr-xr-xtools/http_benchmark.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/http_benchmark.py b/tools/http_benchmark.py
index 7db900a86..68d68e44a 100755
--- a/tools/http_benchmark.py
+++ b/tools/http_benchmark.py
@@ -11,14 +11,14 @@ DURATION = "10s"
def deno_http_benchmark(deno_exe):
- deno_cmd = [deno_exe, "--allow-net", "tests/http_bench.ts", ADDR]
+ deno_cmd = [deno_exe, "run", "--allow-net", "tests/http_bench.ts", ADDR]
print "http_benchmark testing DENO."
return run(deno_cmd)
def deno_net_http_benchmark(deno_exe):
deno_cmd = [
- deno_exe, "--allow-net",
+ deno_exe, "run", "--allow-net",
"js/deps/https/deno.land/std/http/http_bench.ts", ADDR
]
print "http_benchmark testing DENO using net/http."