summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2018-12-13 16:28:49 -0500
committerGitHub <noreply@github.com>2018-12-13 16:28:49 -0500
commiteff66a3c831bae9bdcec3f0e341cf61e35ed6233 (patch)
tree53610c2cdd9134ffb23c9ccd674963ab0c749de9
parent9cfb533c83cb350b66217cdcaea13ad7760f57e2 (diff)
Improve text on benchmark site. (#1323)
-rw-r--r--website/index.html25
1 files changed, 24 insertions, 1 deletions
diff --git a/website/index.html b/website/index.html
index e06c952f9..f5580d314 100644
--- a/website/index.html
+++ b/website/index.html
@@ -32,10 +32,33 @@
<div id="exec-time-chart"></div>
<h2>Throughput</h2>
+ Time it takes to pipe a certain amount of data through Deno.
+ <a href="https://github.com/denoland/deno/blob/master/tests/echo_server.ts">echo_server.ts</a>
+ and
+ <a href="https://github.com/denoland/deno/blob/master/tests/cat.ts">cat.ts</a>
+ Smaller is better.
+
<div id="throughput-chart"></div>
<h2>Req/Sec</h2>
- Tests HTTP server performance against Node.
+ Tests HTTP server performance. 10 keep-alive connections
+ do as many hello-world requests as possible. Bigger is better.
+ <ul>
+ <!-- TODO rename "deno" to "deno_tcp". -->
+ <li><a
+ href="https://github.com/denoland/deno/blob/master/tests/http_bench.ts">deno</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>.
+ <li><a
+ href="https://github.com/denoland/deno_net/blob/master/http_bench.ts">deno_net_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>.
+ <li><a
+ href="https://github.com/denoland/deno/blob/master/tools/hyper_hello.rs">hyper</a>
+ is a Rust HTTP server and represents an upper bound.
+ </ul>
+
<div id="req-per-sec-chart"></div>
<h2>Executable size</h2>