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

{
  "title": {
    "text": "Runtime behavior of fold_left"
  },
  "series": [
    {
      "name": "hana::tuple",
      "data": <%= time_execution('execute.hana.tuple.erb.cpp', exec) %>
    }, {
      "name": "std::vector",
      "data": <%= time_execution('execute.std.vector.erb.cpp', exec) %>
    }, {
      "name": "std::array",
      "data": <%= time_execution('execute.std.array.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 %>
  ]
}