summaryrefslogtreecommitdiffstats
path: root/src/boost/libs/hana/benchmark/transform/execute.erb.json
blob: 98738317e080d999bb93796a1751735de93211fe (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
<%
  exec = (0..100).step(10).to_a
  fusion = (0..50).step(10).to_a
%>

{
  "title": {
    "text": "Runtime behavior of transform"
  },
  "series": [
    {
      "name": "hana::tuple",
      "data": <%= time_execution('execute.hana.tuple.erb.cpp', exec) %>
    }

    , {
      "name": "std::array",
      "data": <%= time_execution('execute.std.array.erb.cpp', exec) %>
    }

    , {
      "name": "std::vector",
      "data": <%= time_execution('execute.std.vector.erb.cpp', exec) %>
    }

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