diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2015-12-01 21:29:42 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2015-12-01 21:29:42 +0100 |
commit | 93b406d1914a5512aec6ca737ba8326a21191227 (patch) | |
tree | 0f869f201815ae862bc2853de0b2007ff1515bf1 /hawd_defs | |
parent | ae7cc26c8350b427870f83687f83184c2c211250 (diff) | |
download | sink-93b406d1914a5512aec6ca737ba8326a21191227.tar.gz sink-93b406d1914a5512aec6ca737ba8326a21191227.zip |
HAWD: Ensure the column order is maintained
By turning the columns into an array instead of an object,
we can print the values in the same order as in the definition file.
Previosly the order was random, and even headers and values were
somtimes mixed up.
Diffstat (limited to 'hawd_defs')
-rw-r--r-- | hawd_defs/buffer_creation | 10 | ||||
-rw-r--r-- | hawd_defs/storage_readwrite | 12 |
2 files changed, 11 insertions, 11 deletions
diff --git a/hawd_defs/buffer_creation b/hawd_defs/buffer_creation index 16c1f8c..38426d3 100644 --- a/hawd_defs/buffer_creation +++ b/hawd_defs/buffer_creation | |||
@@ -1,9 +1,9 @@ | |||
1 | { | 1 | { |
2 | "name": "Buffer Creation", | 2 | "name": "Buffer Creation", |
3 | "description": "Tests how fast buffer creation is", | 3 | "description": "Tests how fast buffer creation is", |
4 | "columns": { | 4 | "columns": [ |
5 | "numBuffers": { "type": "int" }, | 5 | { "name: "numBuffers", "type": "int" }, |
6 | "time": { "type": "int", "unit": "ms", "min": 0, "max": 100 }, | 6 | { "name: "time", "type": "int", "unit": "ms", "min": 0, "max": 100 }, |
7 | "ops": { "type": "float", "unit": "ops/ms" } | 7 | { "name: "ops", "type": "float", "unit": "ops/ms" } |
8 | } | 8 | ] |
9 | } | 9 | } |
diff --git a/hawd_defs/storage_readwrite b/hawd_defs/storage_readwrite index 4b5f6c7..d2504e3 100644 --- a/hawd_defs/storage_readwrite +++ b/hawd_defs/storage_readwrite | |||
@@ -1,10 +1,10 @@ | |||
1 | { | 1 | { |
2 | "name": "Storage Read/Write Performance", | 2 | "name": "Storage Read/Write Performance", |
3 | "description": "Measures performance of the storage class by writing and reading non-trivial datasets", | 3 | "description": "Measures performance of the storage class by writing and reading non-trivial datasets", |
4 | "columns": { | 4 | "columns": [ |
5 | "rows": { "type": "int" }, | 5 | { "name": "rows", "type": "int" }, |
6 | "dbWrite": { "type": "float", "unit": "ops/ms" }, | 6 | { "name": "dbWrite", "type": "float", "unit": "ops/ms" }, |
7 | "fileWrite": { "type": "float", "unit": "ops/ms" }, | 7 | { "name": "fileWrite", "type": "float", "unit": "ops/ms" }, |
8 | "dbRead": { "type": "float", "unit": "ops/ms" } | 8 | { "name": "dbRead", "type": "float", "unit": "ops/ms" } |
9 | } | 9 | ] |
10 | } | 10 | } |