diff options
author | Luka Hartwig <mail@lukahartwig.de> | 2020-02-02 22:55:22 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-02 16:55:22 -0500 |
commit | f168597b7ab81afda3bf4749a81c360d364e7cf1 (patch) | |
tree | 4082e9eebf03cc7b3b653822c52a54a62e308d15 /tools/throughput_benchmark.py | |
parent | e8df66c12cbb3e51f8776aa91e6db41bbfdcae5e (diff) |
Remove //tests symlink (#3849)
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) |