diff options
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | website/app.js | 17 | ||||
-rw-r--r-- | website/index.html | 33 |
3 files changed, 44 insertions, 8 deletions
@@ -86,6 +86,8 @@ Progress towards future releases is tracked Roadmap is [here](https://github.com/denoland/deno/blob/master/Roadmap.md). Also see [this presentation](http://tinyclouds.org/jsconf2018.pdf). +[Benchmarks](https://denoland.github.io/deno/) + [Chat room](https://gitter.im/denolife/Lobby). diff --git a/website/app.js b/website/app.js index 8f9aef7c0..3281cd3cf 100644 --- a/website/app.js +++ b/website/app.js @@ -120,7 +120,7 @@ export async function main() { const syscallCountColumns = createSyscallCountColumns(data); const travisCompileTimeColumns = createTravisCompileTimeColumns(travisData); const sha1List = createSha1List(data); - const sha1SuffixList = sha1List.map(sha1 => sha1.substring(sha1.length - 6)); + const sha1ShortList = sha1List.map(sha1 => sha1.substring(0, 6)); const prNumberList = travisData.map(d => d.pull_request_number); const viewCommitOnClick = _sha1List => d => { @@ -144,7 +144,11 @@ export async function main() { axis: { x: { type: "category", - categories: sha1SuffixList + show: false, + categories: sha1List + }, + y: { + label: "seconds", } } }); @@ -158,7 +162,8 @@ export async function main() { axis: { x: { type: "category", - categories: sha1SuffixList + show: false, + categories: sha1ShortList }, y: { tick: { @@ -177,7 +182,8 @@ export async function main() { axis: { x: { type: "category", - categories: sha1SuffixList + show: false, + categories: sha1ShortList } } }); @@ -191,7 +197,8 @@ export async function main() { axis: { x: { type: "category", - categories: sha1SuffixList + show: false, + categories: sha1ShortList } } }); diff --git a/website/index.html b/website/index.html index 195f6869f..84291e5d8 100644 --- a/website/index.html +++ b/website/index.html @@ -1,22 +1,49 @@ <!DOCTYPE html> <html> <head> - <title>deno benchmark</title> + <title>deno</title> <link rel="stylesheet" href="https://unpkg.com/c3@0.6.7/c3.min.css"> </head> <body> + <h1>deno</h1> + + <p> <a href="https://github.com/denoland/deno">github.com/denoland/deno</a> + + <p> <a href="https://github.com/denoland/deno/issues/573">User Documentation</a> + + <p> <a href="https://github.com/denoland/deno/blob/master/Roadmap.md">Roadmap</a> + + <p> <a href="https://github.com/denoland/deno_install">Install!</a> + <h2>Execution time</h2> + This shows how much time total it takes to run a few simple deno programs: + <a href="https://github.com/denoland/deno/blob/master/tests/002_hello.ts">tests/002_hello.ts</a> + and + <a href="https://github.com/denoland/deno/blob/master/tests/003_relative_import.ts">tests/003_relative_import.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 must compile from scratch. <div id="exec-time-chart"></div> - <h2>Binary size</h2> + + <h2>Executable size</h2> + deno ships only a single binary. We track its size here. <div id="binary-size-chart"></div> + <h2>Thread count</h2> + How many threads various programs use. <div id="thread-count-chart"></div> + <h2>Syscall count</h2> + How many total syscalls are performed when executing a given script. <div id="syscall-count-chart"></div> - <h2>Travis compile time</h2> + + <h2>Travis</h2> + How long for Travis CI to return a green status for pull requests. <div id="travis-compile-time-chart"></div> <script src="https://unpkg.com/d3@5.7.0/dist/d3.min.js"></script> <script src="https://unpkg.com/c3@0.6.7/c3.min.js"></script> + <script type="module"> import { main } from "./app.js"; main(); |