Output coordinates and time per coordinates

This commit is contained in:
Patrick Niklaus 2016-05-01 14:02:06 +02:00
parent 663b40f64e
commit 90403f5fa5
No known key found for this signature in database
GPG Key ID: E426891B5F978B1B

View File

@ -514,7 +514,8 @@ BOOST_AUTO_TEST_CASE(test_benchmark)
// BOOST_CHECK_EQUAL(geometry.size(), 9972);
}
TIMER_STOP(routes);
std::cout << (TIMER_MSEC(routes) / NUM) << "ms/req" << std::endl;
std::cout << (TIMER_MSEC(routes) / NUM) << "ms/req at " << params.coordinates.size() << " coordinate" << std::endl;
std::cout << (TIMER_MSEC(routes) / NUM / params.coordinates.size()) << "ms/coordinate" << std::endl;
}
BOOST_AUTO_TEST_SUITE_END()