summaryrefslogtreecommitdiff
path: root/website/README.md
blob: dece0c7ff0139dcf2a0fb84d62da36e4dbe81926 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
## 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
  }
}
```