1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-22 15:06:54 -05:00
denoland-deno/website
2018-12-18 19:05:48 -05:00
..
all_benchmark.html feat: show only 20 benchmark data in inde.html 2018-10-20 08:07:20 -04:00
app.js Add a simple doc generation tool. 2018-11-14 17:34:28 -08:00
app_test.js Clean up y-axes on benchmark page. (#1077) 2018-10-24 07:04:33 -07:00
index.html Add examples to website. 2018-12-18 19:05:48 -05:00
README.md refactor: stop hard coding some of benchmark names 2018-10-06 23:32:02 -04:00
rustdoc Add a simple doc generation tool. 2018-11-14 17:34:28 -08:00
style.css Add examples to website. 2018-12-18 19:05:48 -05:00
typedoc Add a simple doc generation tool. 2018-11-14 17:34:28 -08:00

About benchmark data

The benchmark chart supposes //website/data.json has the type BenchmarkData[] where BenchmarkData is defined like the below:

interface ExecTimeData {
  mean: number;
  stddev: number;
  user: number;
  system: number;
  min: number;
  max: number;
}

interface BenchmarkData {
  created_at: string;
  sha1: string;
  benchmark: {
    [key: string]: ExecTimeData;
  };
  binarySizeData: {
    [key: string]: number;
  };
  threadCountData: {
    [key: string]: number;
  };
  syscallCountData: {
    [key: string]: number;
  };
}