diff options
author | Yoshiya Hinosawa <stibium121@gmail.com> | 2018-10-07 11:21:51 +0900 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2018-10-06 23:32:02 -0400 |
commit | 1aa7e18ba329cf226d4be3104c726774eff8376c (patch) | |
tree | adc460e53b6bd50100903d10a05935a64598795d /website/README.md | |
parent | 48923f48a299a51bd515d8df53bb7b8c65f80a3b (diff) |
refactor: stop hard coding some of benchmark names
Diffstat (limited to 'website/README.md')
-rw-r--r-- | website/README.md | 12 |
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; + }; } ``` |