summaryrefslogtreecommitdiffstats
path: root/src/boost/libs/hana/benchmark/find_if/compile.erb.json
blob: da6542b55cdfdae92264a126e5678bb7a9a4b5af (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
<%
  hana = (0...50).step(5).to_a + (50..200).step(25).to_a
  fusion = (0...50).step(5).to_a
  mpl = hana
  meta = hana
%>

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

    <% if false %>
    , {
      "name": "hana::set",
      "data": <%= time_compilation('compile.hana.set.erb.cpp', hana) %>
    }, {
      "name": "hana::map",
      "data": <%= time_compilation('compile.hana.map.erb.cpp', hana) %>
    }
    <% end %>

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

    <% 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 %>
  ]
}