summaryrefslogtreecommitdiffstats
path: root/src/boost/libs/hana/benchmark/make/compile.erb.json
blob: 24166876d9e34a65defd9fa088bb1d4cf6715d7e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
<%
  hana = (0...50).step(5).to_a + (50..400).step(25).to_a
  fusion = (0...50).step(5).to_a + [50, 75, 100]
  mpl = hana
  meta = (0...50).step(5).to_a + (50..200).step(25).to_a
  mpl11 = hana
  std = (0...50).step(5).to_a + (50..100).step(25).to_a
%>

{
  "title": {
    "text": "Compile-time behavior of creating a sequence"
  },
  "series": [
    {
      "name": "hana::tuple",
      "data": <%= time_compilation('compile.hana.tuple.erb.cpp', hana) %>
    }, {
      "name": "hana::basic_tuple",
      "data": <%= time_compilation('compile.hana.basic_tuple.erb.cpp', hana) %>
    }, {
      "name": "std::array",
      "data": <%= time_compilation('compile.std.array.erb.cpp', hana) %>
    }

    , {
      "name": "std::tuple",
      "data": <%= time_compilation('compile.std.tuple.erb.cpp', std) %>
    }

    <% if cmake_bool("@Boost_FOUND@") %>
    , {
      "name": "fusion::vector",
      "data": <%= time_compilation('compile.fusion.vector.erb.cpp', fusion) %>
    }, {
      "name": "fusion::list",
      "data": <%= time_compilation('compile.fusion.list.erb.cpp', fusion) %>
    }, {
      "name": "mpl::vector",
      "data": <%= time_compilation('compile.mpl.vector.erb.cpp', mpl) %>
    }
    <% end %>

    <% if cmake_bool("@Meta_FOUND@") %>
    , {
      "name": "meta::list",
      "data": <%= time_compilation('compile.meta.list.erb.cpp', meta) %>
    }
    <% end %>

    <% if cmake_bool("@MPL11_FOUND@") %>
    , {
      "name": "mpl11::list",
      "data": <%= time_compilation('compile.mpl11.list.erb.cpp', mpl11) %>
    }
    <% end %>
  ]
}