execute.erb.json 779 B

1234567891011121314151617181920212223242526272829303132
  1. <%
  2. exec = (0..100).step(10).to_a
  3. fusion = (0..50).step(10).to_a
  4. %>
  5. {
  6. "title": {
  7. "text": "Runtime behavior of fold_left"
  8. },
  9. "series": [
  10. {
  11. "name": "hana::tuple",
  12. "data": <%= time_execution('execute.hana.tuple.erb.cpp', exec) %>
  13. }, {
  14. "name": "std::vector",
  15. "data": <%= time_execution('execute.std.vector.erb.cpp', exec) %>
  16. }, {
  17. "name": "std::array",
  18. "data": <%= time_execution('execute.std.array.erb.cpp', exec) %>
  19. }
  20. <% if cmake_bool("@Boost_FOUND@") %>
  21. , {
  22. "name": "fusion::vector",
  23. "data": <%= time_execution('execute.fusion.vector.erb.cpp', fusion) %>
  24. }, {
  25. "name": "fusion::list",
  26. "data": <%= time_execution('execute.fusion.list.erb.cpp', fusion) %>
  27. }
  28. <% end %>
  29. ]
  30. }