From a3f82c3d5ec3caad1d4ec74f49ef11adc45807d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Mon, 11 May 2020 20:52:25 +0200 Subject: [PATCH] fix: worker benchmarks (#5227) --- tools/benchmark.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tools/benchmark.py b/tools/benchmark.py index 9485d79f4adec..9f6a750bb2355 100755 --- a/tools/benchmark.py +++ b/tools/benchmark.py @@ -26,8 +26,10 @@ ("cold_hello", ["run", "--reload", "cli/tests/002_hello.ts"]), ("cold_relative_import", ["run", "--reload", "cli/tests/003_relative_import.ts"]), - ("workers_startup", ["run", "cli/tests/workers_startup_bench.ts"]), - ("workers_round_robin", ["run", "cli/tests/workers_round_robin_bench.ts"]), + ("workers_startup", + ["run", "--allow-read", "cli/tests/workers_startup_bench.ts"]), + ("workers_round_robin", + ["run", "--allow-read", "cli/tests/workers_round_robin_bench.ts"]), ("text_decoder", ["run", "cli/tests/text_decoder_perf.js"]), ("text_encoder", ["run", "cli/tests/text_encoder_perf.js"]), ]