summaryrefslogtreecommitdiffstats
path: root/src/boost/libs/hana/benchmark/fold_left/compile.erb.json
diff options
context:
space:
mode:
Diffstat (limited to 'src/boost/libs/hana/benchmark/fold_left/compile.erb.json')
-rw-r--r--src/boost/libs/hana/benchmark/fold_left/compile.erb.json61
1 files changed, 61 insertions, 0 deletions
diff --git a/src/boost/libs/hana/benchmark/fold_left/compile.erb.json b/src/boost/libs/hana/benchmark/fold_left/compile.erb.json
new file mode 100644
index 000000000..7240907a9
--- /dev/null
+++ b/src/boost/libs/hana/benchmark/fold_left/compile.erb.json
@@ -0,0 +1,61 @@
+<%
+ hana = (0...50).step(5).to_a + (50..400).step(25).to_a
+ fusion = (0..50).step(5)
+ mpl = hana
+ mpl11 = (0...50).step(5).to_a + (50..500).step(25).to_a
+ meta = (0...50).step(5).to_a + (50..200).step(25).to_a
+ cexpr = (0...50).step(5).to_a + (50..200).step(25).to_a
+%>
+
+
+{
+ "title": {
+ "text": "Compile-time behavior of fold_left"
+ },
+ "series": [
+ {
+ "name": "hana::tuple",
+ "data": <%= time_compilation('compile.hana.tuple.erb.cpp', hana) %>
+ }, {
+ "name": "hana::basic_tuple",
+ "data": <%= time_compilation('compile.hana.basic_tuple.erb.cpp', hana) %>
+ }
+
+ <% if cmake_bool("@Boost_FOUND@") %>
+ , {
+ "name": "fusion::vector",
+ "data": <%= time_compilation('compile.fusion.vector.erb.cpp', fusion) %>
+ },{
+ "name": "fusion::list",
+ "data": <%= time_compilation('compile.fusion.list.erb.cpp', fusion) %>
+ }, {
+ "name": "mpl::vector",
+ "data": <%= time_compilation('compile.mpl.vector.erb.cpp', mpl) %>
+ }
+ <% end %>
+
+ <% if cmake_bool("@MPL11_FOUND@") %>
+ , {
+ "name": "mpl11::list",
+ "data": <%= time_compilation('compile.mpl11.list.erb.cpp', mpl11) %>
+ }
+ <% end %>
+
+ <% if cmake_bool("@Meta_FOUND@") %>
+ , {
+ "name": "meta::list",
+ "data": <%= time_compilation('compile.meta.list.erb.cpp', meta) %>
+ }
+ <% end %>
+
+ <% if false %>
+ , {
+ "name": "cexpr::list (recursive)",
+ "data": <%= time_compilation('compile.cexpr.recursive.erb.cpp', cexpr) %>
+ }, {
+ "name": "cexpr::list (unrolled)",
+ "data": <%= time_compilation('compile.cexpr.unrolled.erb.cpp', cexpr) %>
+ }
+ <% end %>
+ ]
+}