2
0
mirror of https://github.com/boostorg/hana.git synced 2026-01-30 20:02:12 +00:00
Files
hana/benchmark/map/make/chart.erb.json

31 lines
559 B
JSON

<%
def benchmark(variant)
time_compilation("#{variant}.erb.cpp", (0...150).step(5))
end
%>
{
"title": {
"text": "Compile-time behavior of creating a map"
},
"xAxis": {
"title": { "text": "Size of the map" }
},
"series": [
{
"name": "baseline",
"data": <%= benchmark("baseline") %>
}, {
"name": "hana::map",
"data": <%= benchmark("hana_map") %>
}
<% if cmake_bool("@Boost_FOUND@") %>
, {
"name": "fusion::map",
"data": <%= benchmark("fusion_map") %>
}
<% end %>
]
}