compile.erb.json 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  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. mpl11 = (0...50).step(5).to_a + (50..500).step(25).to_a
  6. meta = (0...50).step(5).to_a + (50..200).step(25).to_a
  7. cexpr = (0...50).step(5).to_a + (50..200).step(25).to_a
  8. %>
  9. {
  10. "title": {
  11. "text": "Compile-time behavior of fold_left"
  12. },
  13. "series": [
  14. {
  15. "name": "hana::tuple",
  16. "data": <%= time_compilation('compile.hana.tuple.erb.cpp', hana) %>
  17. }, {
  18. "name": "hana::basic_tuple",
  19. "data": <%= time_compilation('compile.hana.basic_tuple.erb.cpp', hana) %>
  20. }
  21. <% if cmake_bool("@Boost_FOUND@") %>
  22. , {
  23. "name": "fusion::vector",
  24. "data": <%= time_compilation('compile.fusion.vector.erb.cpp', fusion) %>
  25. },{
  26. "name": "fusion::list",
  27. "data": <%= time_compilation('compile.fusion.list.erb.cpp', fusion) %>
  28. }, {
  29. "name": "mpl::vector",
  30. "data": <%= time_compilation('compile.mpl.vector.erb.cpp', mpl) %>
  31. }
  32. <% end %>
  33. <% if cmake_bool("@MPL11_FOUND@") %>
  34. , {
  35. "name": "mpl11::list",
  36. "data": <%= time_compilation('compile.mpl11.list.erb.cpp', mpl11) %>
  37. }
  38. <% end %>
  39. <% if cmake_bool("@Meta_FOUND@") %>
  40. , {
  41. "name": "meta::list",
  42. "data": <%= time_compilation('compile.meta.list.erb.cpp', meta) %>
  43. }
  44. <% end %>
  45. <% if false %>
  46. , {
  47. "name": "cexpr::list (recursive)",
  48. "data": <%= time_compilation('compile.cexpr.recursive.erb.cpp', cexpr) %>
  49. }, {
  50. "name": "cexpr::list (unrolled)",
  51. "data": <%= time_compilation('compile.cexpr.unrolled.erb.cpp', cexpr) %>
  52. }
  53. <% end %>
  54. ]
  55. }