Imported Upstream version 1.72.0
[platform/upstream/boost.git] / libs / hana / benchmark / make / compile.erb.json
1 <%
2   hana = (0...50).step(5).to_a + (50..400).step(25).to_a
3   fusion = (0...50).step(5).to_a + [50, 75, 100]
4   mpl = hana
5   meta = (0...50).step(5).to_a + (50..200).step(25).to_a
6   mpl11 = hana
7   std = (0...50).step(5).to_a + (50..100).step(25).to_a
8 %>
9
10 {
11   "title": {
12     "text": "Compile-time behavior of creating a sequence"
13   },
14   "series": [
15     {
16       "name": "hana::tuple",
17       "data": <%= time_compilation('compile.hana.tuple.erb.cpp', hana) %>
18     }, {
19       "name": "hana::basic_tuple",
20       "data": <%= time_compilation('compile.hana.basic_tuple.erb.cpp', hana) %>
21     }, {
22       "name": "std::array",
23       "data": <%= time_compilation('compile.std.array.erb.cpp', hana) %>
24     }
25
26     , {
27       "name": "std::tuple",
28       "data": <%= time_compilation('compile.std.tuple.erb.cpp', std) %>
29     }
30
31     <% if cmake_bool("@Boost_FOUND@") %>
32     , {
33       "name": "fusion::vector",
34       "data": <%= time_compilation('compile.fusion.vector.erb.cpp', fusion) %>
35     }, {
36       "name": "fusion::list",
37       "data": <%= time_compilation('compile.fusion.list.erb.cpp', fusion) %>
38     }, {
39       "name": "mpl::vector",
40       "data": <%= time_compilation('compile.mpl.vector.erb.cpp', mpl) %>
41     }
42     <% end %>
43
44     <% if cmake_bool("@Meta_FOUND@") %>
45     , {
46       "name": "meta::list",
47       "data": <%= time_compilation('compile.meta.list.erb.cpp', meta) %>
48     }
49     <% end %>
50
51     <% if cmake_bool("@MPL11_FOUND@") %>
52     , {
53       "name": "mpl11::list",
54       "data": <%= time_compilation('compile.mpl11.list.erb.cpp', mpl11) %>
55     }
56     <% end %>
57   ]
58 }