• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1
2# These values are ignored, they are here just to be referenced below.
3constants:
4  num_bindings_column: &num_bindings_column
5    dimension: "num_bindings"
6    pretty_printer:
7      format_string: "%s bindings"
8
9  num_classes_column: &num_classes_column
10    dimension: "num_classes"
11    pretty_printer:
12      format_string: "%s classes"
13
14  compiler_name_row: &compiler_name_row
15    dimension: "compiler_name"
16    pretty_printer:
17      format_string: "%s"
18
19tables:
20  - name: "Fruit compile time (single file)"
21    benchmark_filter:
22      name: "fruit_single_file_compile_time"
23      benchmark_generation_flags: []
24      additional_cmake_args: []
25    columns: *num_bindings_column
26    rows: *compiler_name_row
27    results:
28      dimension: "compile_time"
29      unit: "seconds"
30
31  - name: "Fruit compile time"
32    benchmark_filter:
33      name: "fruit_compile_time"
34      benchmark_generation_flags: []
35      additional_cmake_args: []
36    columns: *num_classes_column
37    rows: *compiler_name_row
38    results:
39      dimension: "compile_time"
40      unit: "seconds"
41
42  - name: "Fruit incremental compile time"
43    benchmark_filter:
44      name: "fruit_incremental_compile_time"
45      benchmark_generation_flags: []
46      additional_cmake_args: []
47    columns: *num_classes_column
48    rows: *compiler_name_row
49    results:
50      dimension: "compile_time"
51      unit: "seconds"
52
53  - name: "Fruit full injection time"
54    benchmark_filter:
55      name: "fruit_run_time"
56      benchmark_generation_flags: []
57      additional_cmake_args: []
58    columns: *num_classes_column
59    rows: *compiler_name_row
60    results:
61      dimension: "Full injection time"
62      unit: "seconds"
63
64  - name: "Fruit component normalization time"
65    benchmark_filter:
66      name: "fruit_run_time"
67      benchmark_generation_flags: []
68      additional_cmake_args: []
69    columns: *num_classes_column
70    rows: *compiler_name_row
71    results:
72      dimension: "componentNormalizationTime"
73      unit: "seconds"
74
75  - name: "Fruit setup time"
76    benchmark_filter:
77      name: "fruit_run_time"
78      benchmark_generation_flags: []
79      additional_cmake_args: []
80    columns: *num_classes_column
81    rows: *compiler_name_row
82    results:
83      dimension: "Total for setup"
84      unit: "seconds"
85
86  - name: "Fruit per-request time"
87    benchmark_filter:
88      name: "fruit_run_time"
89      benchmark_generation_flags: []
90      additional_cmake_args: []
91    columns: *num_classes_column
92    rows: *compiler_name_row
93    results:
94      dimension: "Total per request"
95      unit: "seconds"
96
97  - name: "New/delete time"
98    benchmark_filter: 
99      name: "new_delete_run_time"
100      benchmark_generation_flags: []
101      additional_cmake_args: []
102    columns: *num_classes_column
103    rows: *compiler_name_row
104    results:
105      dimension: "Total"
106      unit: "seconds"
107
108  - name: "Compile time (100 classes)"
109    benchmark_filter:
110      num_classes: 100
111      benchmark_generation_flags: []
112      additional_cmake_args: []
113    columns:
114      dimension: "name"
115      pretty_printer:
116        fixed_map:
117          "fruit_compile_time": "Fruit"
118          "boost_di_compile_time": "Boost.DI"
119          "simple_di_incremental_compile_time": "Simple DI"
120          "simple_di_with_interfaces_incremental_compile_time": "Simple DI w/ interfaces"
121          "simple_di_with_interfaces_and_new_delete_incremental_compile_time": "Simple DI w/ interfaces, new/delete"
122    rows: *compiler_name_row
123    results:
124      dimension: "compile_time"
125      unit: "seconds"
126
127  - name: "Incremental compile time (100 classes)"
128    benchmark_filter:
129      num_classes: 100
130      benchmark_generation_flags: []
131      additional_cmake_args: []
132    columns:
133      dimension: "name"
134      pretty_printer:
135        fixed_map:
136          "fruit_incremental_compile_time": "Fruit"
137          "boost_di_incremental_compile_time": "Boost.DI"
138          "simple_di_incremental_compile_time": "Simple DI"
139          "simple_di_with_interfaces_incremental_compile_time": "Simple DI w/ interfaces"
140          "simple_di_with_interfaces_and_new_delete_incremental_compile_time": "Simple DI w/ interfaces, new/delete"
141    rows: *compiler_name_row
142    results:
143      dimension: "compile_time"
144      unit: "seconds"
145
146  - name: "Fruit full injection time (100 classes)"
147    benchmark_filter:
148      num_classes: 100
149      benchmark_generation_flags: []
150      additional_cmake_args: []
151    columns:
152      dimension: "name"
153      pretty_printer:
154        fixed_map:
155          "fruit_run_time": "Fruit"
156          "boost_di_run_time": "Boost.DI"
157          "simple_di_incremental_run_time": "Simple DI"
158          "simple_di_with_interfaces_incremental_run_time": "Simple DI w/ interfaces"
159          "simple_di_with_interfaces_and_new_delete_incremental_run_time": "Simple DI w/ interfaces, new/delete"
160    rows: *compiler_name_row
161    results:
162      dimension: "Full injection time"
163      unit: "seconds"
164
165  - name: "Fruit component normalization time (100 classes)"
166    benchmark_filter:
167      num_classes: 100
168      benchmark_generation_flags: []
169      additional_cmake_args: []
170    columns:
171      dimension: "name"
172      pretty_printer:
173        fixed_map:
174          "fruit_run_time": "Fruit"
175          "boost_di_run_time": "Boost.DI"
176          "simple_di_incremental_run_time": "Simple DI"
177          "simple_di_with_interfaces_incremental_run_time": "Simple DI w/ interfaces"
178          "simple_di_with_interfaces_and_new_delete_incremental_run_time": "Simple DI w/ interfaces, new/delete"
179    rows: *compiler_name_row
180    results:
181      dimension: "componentNormalizationTime"
182      unit: "seconds"
183
184
185  - name: "Setup time (100 classes)"
186    benchmark_filter:
187      num_classes: 100
188      benchmark_generation_flags: []
189      additional_cmake_args: []
190    columns:
191      dimension: "name"
192      pretty_printer:
193        fixed_map:
194          "fruit_run_time": "Fruit"
195          "boost_di_run_time": "Boost.DI"
196          "simple_di_incremental_run_time": "Simple DI"
197          "simple_di_with_interfaces_incremental_run_time": "Simple DI w/ interfaces"
198          "simple_di_with_interfaces_and_new_delete_incremental_run_time": "Simple DI w/ interfaces, new/delete"
199    rows: *compiler_name_row
200    results:
201      dimension: "Total for setup"
202      unit: "seconds"
203
204  - name: "Per-request time (100 classes)"
205    benchmark_filter:
206      num_classes: 100
207      benchmark_generation_flags: []
208      additional_cmake_args: []
209    columns:
210      dimension: "name"
211      pretty_printer:
212        fixed_map:
213          "fruit_run_time": "Fruit"
214          "boost_di_run_time": "Boost.DI"
215          "simple_di_incremental_run_time": "Simple DI"
216          "simple_di_with_interfaces_incremental_run_time": "Simple DI w/ interfaces"
217          "simple_di_with_interfaces_and_new_delete_incremental_run_time": "Simple DI w/ interfaces, new/delete"
218    rows: *compiler_name_row
219    results:
220      dimension: "Total per request"
221      unit: "seconds"
222
223  - name: "Executable size (stripped, 100 classes)"
224    benchmark_filter:
225      num_classes: 100
226      benchmark_generation_flags: []
227      additional_cmake_args: []
228    columns:
229      dimension: "name"
230      pretty_printer:
231        fixed_map:
232          "fruit_executable_size": "Fruit"
233          "boost_di_executable_size": "Boost.DI"
234          "simple_di_incremental_run_time": "Simple DI"
235          "simple_di_with_interfaces_incremental_run_time": "Simple DI w/ interfaces"
236          "simple_di_with_interfaces_and_new_delete_incremental_run_time": "Simple DI w/ interfaces, new/delete"
237    rows: *compiler_name_row
238    results:
239      dimension: "num_bytes"
240      unit: "bytes"
241