compile.erb.json 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. <%
  2. hana = (0...50).step(5).to_a + (50..400).step(25).to_a
  3. fusion = (0..50).step(5)
  4. mpl = hana
  5. meta = hana
  6. mpl11 = hana
  7. %>
  8. {
  9. "title": {
  10. "text": "Compile-time behavior of transform"
  11. },
  12. "series": [
  13. {
  14. "name": "hana::tuple",
  15. "data": <%= time_compilation('compile.hana.tuple.erb.cpp', hana) %>
  16. }, {
  17. "name": "hana::types",
  18. "data": <%= time_compilation('compile.hana.types.erb.cpp', hana) %>
  19. }
  20. <% if cmake_bool("@Boost_FOUND@") %>
  21. , {
  22. "name": "mpl::vector",
  23. "data": <%= time_compilation('compile.mpl.vector.erb.cpp', mpl) %>
  24. }, {
  25. "name": "fusion::vector",
  26. "data": <%= time_compilation('compile.fusion.vector.erb.cpp', fusion) %>
  27. }, {
  28. "name": "fusion::list",
  29. "data": <%= time_compilation('compile.fusion.list.erb.cpp', fusion) %>
  30. }
  31. <% end %>
  32. <% if cmake_bool("@Meta_FOUND@") %>
  33. , {
  34. "name": "meta::list",
  35. "data": <%= time_compilation('compile.meta.list.erb.cpp', meta) %>
  36. }
  37. <% end %>
  38. <% if cmake_bool("@MPL11_FOUND@") %>
  39. , {
  40. "name": "mpl11::list",
  41. "data": <%= time_compilation('compile.mpl11.list.erb.cpp', mpl11) %>
  42. }
  43. <% end %>
  44. ]
  45. }