deno/website
Ryan Dahl b5d7e38f9b Add Docs.md
Remove stuff from Roadmap that has been implemented.
2018-10-19 21:36:07 -04:00
..
app.js improve benchmark page performance and fix test (#1002) 2018-10-16 12:00:47 -04:00
app_test.js improve benchmark page performance and fix test (#1002) 2018-10-16 12:00:47 -04:00
index.html Add Docs.md 2018-10-19 21:36:07 -04:00
README.md refactor: stop hard coding some of benchmark names 2018-10-06 23:32:02 -04: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;
  };
}