From 201b520c9a53e8a8843484034b9e2b2b16fecb46 Mon Sep 17 00:00:00 2001 From: Sergey Golovin Date: Sun, 3 Feb 2019 20:49:38 +0300 Subject: Refactor markup of the site (#1663) --- website/index.html | 221 +++++++++++++++++++++++++++-------------------------- 1 file changed, 114 insertions(+), 107 deletions(-) (limited to 'website/index.html') diff --git a/website/index.html b/website/index.html index d36c0da9f..9ac39a344 100644 --- a/website/index.html +++ b/website/index.html @@ -31,28 +31,31 @@ Windows - deno + + deno + - + + + - + + + - deno_std + + deno_std + + > + + @@ -60,159 +63,161 @@ deno_install - + + + + > + + - registry + + registry +

- Documentation + + Documentation +

- -

API Reference

-

- Other Deno resources. + + API Reference + +

+

+ + Other Deno resources. +

Install

With Shell

-
-curl -fL https://deno.land/x/install/install.sh | sh
-
+
curl -fL https://deno.land/x/install/install.sh | sh

With PowerShell

-
-iex (iwr https://deno.land/x/install/install.ps1)
-
+
iex (iwr https://deno.land/x/install/install.ps1)

Mini-tutorial

- Try a Deno program. This one serves a local directory in HTTP. - +

Try a Deno program. This one serves a local directory in HTTP.

 alias file_server="deno \
   https://deno.land/x/http/file_server.ts --allow-net"
-
+ - Run it: +

Run it:

 % file_server .
 Downloading https://deno.land/x/http/file_server.ts...
 [...]
 HTTP server listening on http://0.0.0.0:4500/
-
- - And if you ever want to upgrade to the latest published version: -
-file_server --reload
-
+ +

And if you ever want to upgrade to the latest published version:

+
file_server --reload

Dig in...

- Documentation + + Documentation + -

API Reference

+

+ API Reference +

- Links to other Deno resources. + + Links to other Deno resources. +

Continuous Benchmarks

- These plots are updated on every commit to - master branch. +

These plots are updated on every commit to

+

+ master branch +

Execution time

- This shows how much time total it takes to run a few simple deno programs: - tests/002_hello.ts - and - tests/003_relative_import.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 must - compile from scratch. +

This shows how much time total it takes to run a few simple deno programs:

+ + tests/002_hello.ts + +

and

+

+ + tests/003_relative_import.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 must + compile from scratch. +

Throughput

- Time it takes to pipe a certain amount of data through Deno. - echo_server.ts - and - cat.ts - Smaller is better. + +

Time it takes to pipe a certain amount of data through Deno.

+ + + echo_server.ts + +

and

+ + cat.ts + +

Smaller is better.

Req/Sec

- Tests HTTP server performance. 10 keep-alive connections do as many - hello-world requests as possible. Bigger is better. + +

+ Tests HTTP server performance. 10 keep-alive connections do as many + hello-world requests as possible. Bigger is better. +

+ @@ -220,18 +225,20 @@ file_server --reload

Executable size

- deno ships only a single binary. We track its size here. +

deno ships only a single binary. We track its size here.

Thread count

- How many threads various programs use. +

How many threads various programs use.

Syscall count

- How many total syscalls are performed when executing a given script. +

How many total syscalls are performed when executing a given script.

-

Historical benchmark data

+

+ Historical benchmark data +

-- cgit v1.2.3