• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<%
2  hana = (0...50).step(5).to_a + (50..400).step(25).to_a
3  fusion = (0..50).step(5)
4  mpl = hana
5  mpl11 = (0...50).step(5).to_a + (50..500).step(25).to_a
6  meta = (0...50).step(5).to_a + (50..200).step(25).to_a
7  cexpr = (0...50).step(5).to_a + (50..200).step(25).to_a
8%>
9
10
11{
12  "title": {
13    "text": "Compile-time behavior of fold_left"
14  },
15  "series": [
16    {
17      "name": "hana::tuple",
18      "data": <%= time_compilation('compile.hana.tuple.erb.cpp', hana) %>
19    }, {
20      "name": "hana::basic_tuple",
21      "data": <%= time_compilation('compile.hana.basic_tuple.erb.cpp', hana) %>
22    }
23
24    <% if cmake_bool("@Boost_FOUND@") %>
25    , {
26      "name": "fusion::vector",
27      "data": <%= time_compilation('compile.fusion.vector.erb.cpp', fusion) %>
28    },{
29      "name": "fusion::list",
30      "data": <%= time_compilation('compile.fusion.list.erb.cpp', fusion) %>
31    }, {
32      "name": "mpl::vector",
33      "data": <%= time_compilation('compile.mpl.vector.erb.cpp', mpl) %>
34    }
35    <% end %>
36
37    <% if cmake_bool("@MPL11_FOUND@") %>
38    , {
39      "name": "mpl11::list",
40      "data": <%= time_compilation('compile.mpl11.list.erb.cpp', mpl11) %>
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 false %>
52    , {
53      "name": "cexpr::list (recursive)",
54      "data": <%= time_compilation('compile.cexpr.recursive.erb.cpp', cexpr) %>
55    }, {
56      "name": "cexpr::list (unrolled)",
57      "data": <%= time_compilation('compile.cexpr.unrolled.erb.cpp', cexpr) %>
58    }
59    <% end %>
60  ]
61}
62