Fixed benchmark bug in profile.
This commit is contained in:
parent
e2212d57a5
commit
23c9ae2026
@ -305,7 +305,7 @@ endif()
|
|||||||
|
|
||||||
# release flags
|
# release flags
|
||||||
set(CMAKE_CXX_FLAGS_RELEASE
|
set(CMAKE_CXX_FLAGS_RELEASE
|
||||||
"${CMAKE_CXX_FLAGS_RELEASE} -march=native -Wall")
|
"${CMAKE_CXX_FLAGS_RELEASE} -Wall")
|
||||||
|
|
||||||
# -- configure defines -- default is ON | true | enabled ----------------------
|
# -- configure defines -- default is ON | true | enabled ----------------------
|
||||||
# -- logging ------------------------------------------------------------------
|
# -- logging ------------------------------------------------------------------
|
||||||
|
@ -370,9 +370,9 @@ int main(int argc, char **argv)
|
|||||||
iter::for_all_fill(
|
iter::for_all_fill(
|
||||||
t.label_find_or_create("Company").index->for_range_exact(t),
|
t.label_find_or_create("Company").index->for_range_exact(t),
|
||||||
[&](auto v) {
|
[&](auto v) {
|
||||||
if (i < n) {
|
// if (i < n) {
|
||||||
coll.push_back(make_pair(v, query(t, v.id())));
|
coll.push_back(make_pair(v, query(t, v.id())));
|
||||||
}
|
// }
|
||||||
i++;
|
i++;
|
||||||
});
|
});
|
||||||
n = i;
|
n = i;
|
||||||
|
Loading…
Reference in New Issue
Block a user