diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2019-04-07 00:13:06 +0200 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2019-04-07 01:13:06 +0300 |
commit | 780e72ab6a092a6a7174c30bf4163857770d2ad0 (patch) | |
tree | 035bf5426c6c50f3cec4790700a29563c45db8b8 /tools/throughput_benchmark.py | |
parent | cb11bbd8396fc3f6607481d50a4c82db0bfeffb7 (diff) |
Refactor CLI flag parsing (#2025)
Diffstat (limited to 'tools/throughput_benchmark.py')
-rwxr-xr-x | tools/throughput_benchmark.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/throughput_benchmark.py b/tools/throughput_benchmark.py index 9048d3582..712edfe43 100755 --- a/tools/throughput_benchmark.py +++ b/tools/throughput_benchmark.py @@ -19,7 +19,7 @@ ADDR = "127.0.0.1:4544" def cat(deno_exe, megs): size = megs * MB start = time.time() - cmd = deno_exe + " tests/cat.ts --allow-read /dev/zero | head -c %s " % size + cmd = deno_exe + " --allow-read tests/cat.ts /dev/zero | head -c %s " % size print cmd subprocess.check_output(cmd, shell=True) end = time.time() |