diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2019-05-03 23:15:16 +0200 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2019-05-03 17:15:16 -0400 |
commit | f6a9d7d7172df6422f895dcfe6f4267ad1b472da (patch) | |
tree | 086a9e3e75e7597f2d456c26749d9d9d64e51990 /tools/http_benchmark.py | |
parent | 36081171323e266760db8bed2f31a6e3be7d8839 (diff) |
add "deno run" subcommand (#2215)
Diffstat (limited to 'tools/http_benchmark.py')
-rwxr-xr-x | tools/http_benchmark.py | 4 |
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." |