execute.erb.json 792 B

123456789101112131415161718192021222324252627282930313233343536
  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 transform"
  8. },
  9. "series": [
  10. {
  11. "name": "hana::tuple",
  12. "data": <%= time_execution('execute.hana.tuple.erb.cpp', exec) %>
  13. }
  14. , {
  15. "name": "std::array",
  16. "data": <%= time_execution('execute.std.array.erb.cpp', exec) %>
  17. }
  18. , {
  19. "name": "std::vector",
  20. "data": <%= time_execution('execute.std.vector.erb.cpp', exec) %>
  21. }
  22. <% if cmake_bool("@Boost_FOUND@") %>
  23. , {
  24. "name": "fusion::vector",
  25. "data": <%= time_execution('execute.fusion.vector.erb.cpp', fusion) %>
  26. }, {
  27. "name": "fusion::list",
  28. "data": <%= time_execution('execute.fusion.list.erb.cpp', fusion) %>
  29. }
  30. <% end %>
  31. ]
  32. }