]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/hana/benchmark/make/compile.erb.json
d250801309cce06697aee0c9d0ad8cbbd0f443c6
[ceph.git] / ceph / src / boost / 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 <% if not ("@CMAKE_CXX_COMPILER_ID@" == "Clang" &&
27 "@CMAKE_CXX_COMPILER_VERSION@" == "3.5.0") %>
28 , {
29 "name": "std::tuple",
30 "data": <%= time_compilation('compile.std.tuple.erb.cpp', std) %>
31 }
32 <% end %>
33
34 <% if cmake_bool("@Boost_FOUND@") %>
35 , {
36 "name": "fusion::vector",
37 "data": <%= time_compilation('compile.fusion.vector.erb.cpp', fusion) %>
38 }, {
39 "name": "fusion::list",
40 "data": <%= time_compilation('compile.fusion.list.erb.cpp', fusion) %>
41 }, {
42 "name": "mpl::vector",
43 "data": <%= time_compilation('compile.mpl.vector.erb.cpp', mpl) %>
44 }
45 <% end %>
46
47 <% if cmake_bool("@Meta_FOUND@") %>
48 , {
49 "name": "meta::list",
50 "data": <%= time_compilation('compile.meta.list.erb.cpp', meta) %>
51 }
52 <% end %>
53
54 <% if cmake_bool("@MPL11_FOUND@") %>
55 , {
56 "name": "mpl11::list",
57 "data": <%= time_compilation('compile.mpl11.list.erb.cpp', mpl11) %>
58 }
59 <% end %>
60 ]
61 }