1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-12 10:37:52 -05:00
denoland-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 05:01:21 -04:00
`BenchmarkData[]` where `BenchmarkData` is defined like the below:
```typescript
interface ExecTimeData {
2018-10-04 05:01:21 -04:00
mean: number;
stddev: number;
user: number;
system: number;
min: number;
max: number;
}
interface BenchmarkData {
2018-10-04 05:01:21 -04:00
created_at: string;
sha1: string;
benchmark: {
2018-10-04 05:01:21 -04:00
[key: string]: ExecTimeData;
};
binarySizeData: {
[key: string]: number;
};
threadCountData: {
[key: string]: number;
};
syscallCountData: {
[key: string]: number;
};
}
```