diff options
Diffstat (limited to 'website/benchmarks.html')
-rw-r--r-- | website/benchmarks.html | 37 |
1 files changed, 23 insertions, 14 deletions
diff --git a/website/benchmarks.html b/website/benchmarks.html index 4a7294af0..72c10f9b3 100644 --- a/website/benchmarks.html +++ b/website/benchmarks.html @@ -34,37 +34,46 @@ </p> <ul> - <!-- TODO rename "deno" to "deno_tcp". --> <li> <a - href="https://github.com/denoland/deno/blob/master/tests/http_bench.ts" - > - deno - </a> + href="https://github.com/denoland/deno/blob/master/tools/deno_tcp.ts" + >deno_tcp</a> is a fake http server that doesn't parse HTTP. It is comparable to <a href="https://github.com/denoland/deno/blob/master/tools/node_tcp.js" - > - node_tcp - </a> + >node_tcp</a> . </li> <li> <a href="https://github.com/denoland/deno_std/blob/master/http/http_bench.ts" - > - deno_net_http - </a> + >deno_http</a> is a web server written in TypeScript. It is comparable to <a href="https://github.com/denoland/deno/blob/master/tools/node_http.js" - > - node_http - </a> + >node_http</a> . </li> + <li>deno_core_single and deno_core_multi are two versions of + a minimal fake HTTP server. It blindly reads and writes fixed HTTP + packets. It is comparable to deno_tcp and node_tcp. + This is a standalone executable that uses <a + href="https://crates.io/crates/deno">the deno rust crate</a>. The + code is in + <a + href="https://github.com/denoland/deno/blob/master/core/examples/http_bench.rs" + >http_bench.rs</a> + and + <a + href="https://github.com/denoland/deno/blob/master/core/examples/http_bench.js" + >http_bench.js</a>. single uses <a + href="https://docs.rs/tokio/0.1.19/tokio/runtime/current_thread/index.html">tokio::runtime::current_thread</a> + and multi uses <a + href="https://docs.rs/tokio/0.1.19/tokio/runtime/">tokio::runtime::threadpool</a>. + </li> + <li> <a href="https://github.com/denoland/deno/blob/master/tools/hyper_hello.rs" |