From ef41a1ab2bd9190058944842644738808e266cb6 Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Wed, 26 Sep 2018 20:41:23 -0400 Subject: [PATCH] Add benchmark descriptions. --- README.md | 2 ++ website/app.js | 17 ++++++++++++----- website/index.html | 33 ++++++++++++++++++++++++++++++--- 3 files changed, 44 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index af035203d8..1578f56e96 100644 --- a/README.md +++ b/README.md @@ -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 8f9aef7c0c..3281cd3cf7 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 195f6869fa..84291e5d89 100644 --- a/website/index.html +++ b/website/index.html @@ -1,22 +1,49 @@ - deno benchmark + deno +

deno

+ +

github.com/denoland/deno + +

User Documentation + +

Roadmap + +

Install! +

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.
-

Binary size

+ +

Executable size

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

Thread count

+ How many threads various programs use.
+

Syscall count

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

Travis compile time

+ +

Travis

+ How long for Travis CI to return a green status for pull requests.
+