summaryrefslogtreecommitdiff
path: root/website/README.md
diff options
context:
space:
mode:
authorYoshiya Hinosawa <stibium121@gmail.com>2018-10-07 11:21:51 +0900
committerRyan Dahl <ry@tinyclouds.org>2018-10-06 23:32:02 -0400
commit1aa7e18ba329cf226d4be3104c726774eff8376c (patch)
treeadc460e53b6bd50100903d10a05935a64598795d /website/README.md
parent48923f48a299a51bd515d8df53bb7b8c65f80a3b (diff)
refactor: stop hard coding some of benchmark names
Diffstat (limited to 'website/README.md')
-rw-r--r--website/README.md12
1 files changed, 10 insertions, 2 deletions
diff --git a/website/README.md b/website/README.md
index a94f85b9e..1e6a13a15 100644
--- a/website/README.md
+++ b/website/README.md
@@ -1,6 +1,6 @@
## About benchmark data
-The benchmark chart supposes `//website/data.json` has the signature of
+The benchmark chart supposes `//website/data.json` has the type
`BenchmarkData[]` where `BenchmarkData` is defined like the below:
```typescript
@@ -16,9 +16,17 @@ interface ExecTimeData {
interface BenchmarkData {
created_at: string;
sha1: string;
- binary_size?: number;
benchmark: {
[key: string]: ExecTimeData;
};
+ binarySizeData: {
+ [key: string]: number;
+ };
+ threadCountData: {
+ [key: string]: number;
+ };
+ syscallCountData: {
+ [key: string]: number;
+ };
}
```