mirror of
https://github.com/denoland/deno.git
synced 2024-12-28 18:19:08 -05:00
32 lines
579 B
Markdown
32 lines
579 B
Markdown
## About benchmark data
|
|
|
|
The benchmark chart supposes `//website/data.json` has the type
|
|
`BenchmarkData[]` where `BenchmarkData` is defined like the below:
|
|
|
|
```typescript
|
|
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;
|
|
};
|
|
}
|
|
```
|