diff options
Diffstat (limited to 'tools/throughput_benchmark.py')
-rwxr-xr-x | tools/throughput_benchmark.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/throughput_benchmark.py b/tools/throughput_benchmark.py index ba80b9909..8b1de13d4 100755 --- a/tools/throughput_benchmark.py +++ b/tools/throughput_benchmark.py @@ -21,7 +21,7 @@ def cat(deno_exe, megs): size = megs * MB start = time.time() cmd = deno_exe + " run --allow-read " - cmd += "tests/cat.ts /dev/zero | head -c %s " % size + cmd += "cli/tests/cat.ts /dev/zero | head -c %s " % size print cmd subprocess.check_output(cmd, shell=True) end = time.time() @@ -32,7 +32,7 @@ def tcp(deno_exe, megs): size = megs * MB # Run deno echo server in the background. args = [ - deno_exe, "run", "--allow-net", "tests/echo_server.ts", SERVER_ADDR + deno_exe, "run", "--allow-net", "cli/tests/echo_server.ts", SERVER_ADDR ] print args echo_server = subprocess.Popen(args) |