summaryrefslogtreecommitdiff
path: root/tools/throughput_benchmark.py
diff options
context:
space:
mode:
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 4f1c02449..9048d3582 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 /dev/zero | head -c %s " % size
+ cmd = deno_exe + " tests/cat.ts --allow-read /dev/zero | head -c %s " % size
print cmd
subprocess.check_output(cmd, shell=True)
end = time.time()