[llvm-exegesis][NFC] Improve parsing of the YAML files
[llvm-core.git] / utils / benchmark / tools / gbench / Inputs / test1_run1.json
blobd7ec6a9c8f61a60ec957e240d587df7e1dc33651
2   "context": {
3     "date": "2016-08-02 17:44:46",
4     "num_cpus": 4,
5     "mhz_per_cpu": 4228,
6     "cpu_scaling_enabled": false,
7     "library_build_type": "release"
8   },
9   "benchmarks": [
10     {
11       "name": "BM_SameTimes",
12       "iterations": 1000,
13       "real_time": 10,
14       "cpu_time": 10,
15       "time_unit": "ns"
16     },
17     {
18       "name": "BM_2xFaster",
19       "iterations": 1000,
20       "real_time": 50,
21       "cpu_time": 50,
22       "time_unit": "ns"
23     },
24     {
25       "name": "BM_2xSlower",
26       "iterations": 1000,
27       "real_time": 50,
28       "cpu_time": 50,
29       "time_unit": "ns"
30     },
31     {
32       "name": "BM_1PercentFaster",
33       "iterations": 1000,
34       "real_time": 100,
35       "cpu_time": 100,
36       "time_unit": "ns"
37     },
38     {
39       "name": "BM_1PercentSlower",
40       "iterations": 1000,
41       "real_time": 100,
42       "cpu_time": 100,
43       "time_unit": "ns"
44     },
45     {
46       "name": "BM_10PercentFaster",
47       "iterations": 1000,
48       "real_time": 100,
49       "cpu_time": 100,
50       "time_unit": "ns"
51     },
52     {
53       "name": "BM_10PercentSlower",
54       "iterations": 1000,
55       "real_time": 100,
56       "cpu_time": 100,
57       "time_unit": "ns"
58     },
59     {
60       "name": "BM_100xSlower",
61       "iterations": 1000,
62       "real_time": 100,
63       "cpu_time": 100,
64       "time_unit": "ns"
65     },
66     {
67       "name": "BM_100xFaster",
68       "iterations": 1000,
69       "real_time": 10000,
70       "cpu_time": 10000,
71       "time_unit": "ns"
72     },
73     {
74       "name": "BM_10PercentCPUToTime",
75       "iterations": 1000,
76       "real_time": 100,
77       "cpu_time": 100,
78       "time_unit": "ns"
79     },
80     {
81       "name": "BM_ThirdFaster",
82       "iterations": 1000,
83       "real_time": 100,
84       "cpu_time": 100,
85       "time_unit": "ns"
86     },
87     {
88       "name": "BM_BadTimeUnit",
89       "iterations": 1000,
90       "real_time": 0.4,
91       "cpu_time": 0.5,
92       "time_unit": "s"
93     },
94     {
95       "name": "BM_DifferentTimeUnit",
96       "iterations": 1,
97       "real_time": 1,
98       "cpu_time": 1,
99       "time_unit": "s"
100     }
101   ]