From 9ab03389f047e5520c184b9fce4cd5fb2e4804bd Mon Sep 17 00:00:00 2001 From: Dmitry Sharshakov Date: Fri, 8 Feb 2019 23:59:38 +0300 Subject: Add --allow-read (#1689) Co-authored-by: Greg Altman --- tools/throughput_benchmark.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/throughput_benchmark.py') 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() -- cgit v1.2.3