diff --git a/tools/benchmark.py b/tools/benchmark.py index 879fcd71b5d5ae..db2ef0fb2dd8fb 100755 --- a/tools/benchmark.py +++ b/tools/benchmark.py @@ -25,7 +25,7 @@ ("error_001", ["tests/error_001.ts"]), ("cold_hello", ["tests/002_hello.ts", "--reload"]), ("cold_relative_import", ["tests/003_relative_import.ts", "--reload"]), - ("workers", ["tests/workers_startup_bench.ts"]), + ("workers_startup", ["tests/workers_startup_bench.ts"]), ("workers_round_robin", ["tests/workers_round_robin_bench.ts"]), ] diff --git a/website/benchmarks.html b/website/benchmarks.html index 4d6d543dc6a858..560b96c7cb2363 100644 --- a/website/benchmarks.html +++ b/website/benchmarks.html @@ -29,11 +29,18 @@

Execution time #

href="https://github.com/denoland/deno/blob/master/tests/002_hello.ts" > tests/002_hello.ts - - and + , tests/003_relative_import.ts, + tests/worker_round_robin_bench.ts, and + tests/worker_startup_bench.ts. For deno to execute typescript, it must first compile it to JS. A warm startup is when deno has a cached JS output already, so it should be fast because it bypasses the TS compiler. A cold startup is when deno