hana/benchmark/sort/compile.erb.json
Quentin Chateau be0640b9ed [benchmarks] added benchmarks for sort
benchmark for multiple tuple size
the following case are tested:
- sorted tuple
- reverse sorted tuple
- randomized tuple
- sorted tuple except first element
- sorted tuple except last element
2019-09-24 06:47:22 -06:00

32 lines
822 B
JSON

<%
hana = [0, 1, 2, 5, 10, 20, 50, 100]
%>
{
"title": {
"text": "Compile-time behavior of sort"
},
"series": [
{
"name": "hana::tuple::sorted",
"data": <%= time_compilation('compile.hana.tuple.sorted.erb.cpp', hana) %>
},
{
"name": "hana::tuple::reversed",
"data": <%= time_compilation('compile.hana.tuple.reversed.erb.cpp', hana) %>
},
{
"name": "hana::tuple::rand",
"data": <%= time_compilation('compile.hana.tuple.rand.erb.cpp', hana) %>
},
{
"name": "hana::tuple::sorted_but_first",
"data": <%= time_compilation('compile.hana.tuple.sorted_but_first.erb.cpp', hana) %>
},
{
"name": "hana::tuple::sorted_but_last",
"data": <%= time_compilation('compile.hana.tuple.sorted_but_last.erb.cpp', hana) %>
}
]
}