diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2020-05-11 20:52:25 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-11 20:52:25 +0200 |
commit | a3f82c3d5ec3caad1d4ec74f49ef11adc45807d6 (patch) | |
tree | 9e590a05959ae8421eac4bfbeb685a35cc21f22c /tools/benchmark.py | |
parent | fb7d7f40ed805eab5a0388f04e96224163973624 (diff) |
fix: worker benchmarks (#5227)
Diffstat (limited to 'tools/benchmark.py')
-rwxr-xr-x | tools/benchmark.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tools/benchmark.py b/tools/benchmark.py index 9485d79f4..9f6a750bb 100755 --- a/tools/benchmark.py +++ b/tools/benchmark.py @@ -26,8 +26,10 @@ exec_time_benchmarks = [ ("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"]), ] |