deno/website/README.md

33 lines
579 B
Markdown
Raw Normal View History

## About benchmark data
The benchmark chart supposes `//website/data.json` has the type
2018-10-04 09:01:21 +00:00
`BenchmarkData[]` where `BenchmarkData` is defined like the below:
```typescript
interface ExecTimeData {
2018-10-04 09:01:21 +00:00
mean: number;
stddev: number;
user: number;
system: number;
min: number;
max: number;
}
interface BenchmarkData {
2018-10-04 09:01:21 +00:00
created_at: string;
sha1: string;
benchmark: {
2018-10-04 09:01:21 +00:00
[key: string]: ExecTimeData;
};
binarySizeData: {
[key: string]: number;
};
threadCountData: {
[key: string]: number;
};
syscallCountData: {
[key: string]: number;
};
}
```