mirror of
https://github.com/denoland/deno.git
synced 2024-12-29 10:39:10 -05:00
23 lines
444 B
Markdown
23 lines
444 B
Markdown
## About benchmark data
|
|
|
|
The benchmark chart supposes `//website/data.json` has the signature of `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,
|
|
binary_size?: number,
|
|
benchmark: {
|
|
[key: string]: ExecTimeData
|
|
}
|
|
}
|
|
```
|