summaryrefslogtreecommitdiff
path: root/tools/throughput_benchmark.py
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2019-04-07 00:13:06 +0200
committerRyan Dahl <ry@tinyclouds.org>2019-04-07 01:13:06 +0300
commit780e72ab6a092a6a7174c30bf4163857770d2ad0 (patch)
tree035bf5426c6c50f3cec4790700a29563c45db8b8 /tools/throughput_benchmark.py
parentcb11bbd8396fc3f6607481d50a4c82db0bfeffb7 (diff)
Refactor CLI flag parsing (#2025)
Diffstat (limited to 'tools/throughput_benchmark.py')
-rwxr-xr-xtools/throughput_benchmark.py2
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()