Skip to content

Commit

Permalink
updated benchmark description
Browse files Browse the repository at this point in the history
  • Loading branch information
afinch7 committed Apr 5, 2019
1 parent 4f57658 commit 983d189
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tools/benchmark.py
Expand Up @@ -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"]),
]

Expand Down
11 changes: 9 additions & 2 deletions website/benchmarks.html
Expand Up @@ -29,11 +29,18 @@ <h3 id="exec-time">Execution time <a href="#exec-time">#</a></h3>
href="https://github.com/denoland/deno/blob/master/tests/002_hello.ts"
>
tests/002_hello.ts
</a>
and
</a>,
<a
href="https://github.com/denoland/deno/blob/master/tests/003_relative_import.ts"
>tests/003_relative_import.ts</a
>,
<a
href="https://github.com/denoland/deno/blob/master/tests/worker_round_robin_bench.ts"
>tests/worker_round_robin_bench.ts</a
>, and
<a
href="https://github.com/denoland/deno/blob/master/tests/worker_startup_bench.ts"
>tests/worker_startup_bench.ts</a
>. 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
Expand Down

0 comments on commit 983d189

Please sign in to comment.