diff options
author | Yoshiya Hinosawa <stibium121@gmail.com> | 2018-09-24 00:54:07 +0900 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2018-09-23 11:54:07 -0400 |
commit | 9203e983d1536618fb07b3ffd95da177c9bbfdfc (patch) | |
tree | cb278c20cfbc9b79af5daca3b89d6aead706430f /website/README.md | |
parent | 56acb6fa0e70206738259b80d054931e57617d90 (diff) |
benchmark: track the binary size (#804)
Diffstat (limited to 'website/README.md')
-rw-r--r-- | website/README.md | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/website/README.md b/website/README.md new file mode 100644 index 000000000..dece0c7ff --- /dev/null +++ b/website/README.md @@ -0,0 +1,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 + } +} +``` |