2018-09-23 11:54:07 -04:00
|
|
|
## About benchmark data
|
|
|
|
|
2018-10-06 22:21:51 -04:00
|
|
|
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:
|
2018-09-23 11:54:07 -04:00
|
|
|
|
|
|
|
```typescript
|
|
|
|
interface ExecTimeData {
|
2018-10-04 05:01:21 -04:00
|
|
|
mean: number;
|
|
|
|
stddev: number;
|
|
|
|
user: number;
|
|
|
|
system: number;
|
|
|
|
min: number;
|
|
|
|
max: number;
|
2018-09-23 11:54:07 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
interface BenchmarkData {
|
2018-10-04 05:01:21 -04:00
|
|
|
created_at: string;
|
|
|
|
sha1: string;
|
2018-09-23 11:54:07 -04:00
|
|
|
benchmark: {
|
2018-10-04 05:01:21 -04:00
|
|
|
[key: string]: ExecTimeData;
|
|
|
|
};
|
2018-10-06 22:21:51 -04:00
|
|
|
binarySizeData: {
|
|
|
|
[key: string]: number;
|
|
|
|
};
|
|
|
|
threadCountData: {
|
|
|
|
[key: string]: number;
|
|
|
|
};
|
|
|
|
syscallCountData: {
|
|
|
|
[key: string]: number;
|
|
|
|
};
|
2018-09-23 11:54:07 -04:00
|
|
|
}
|
|
|
|
```
|