From 90403f5fa57731eca6a947cb1b26b02ac2c210ec Mon Sep 17 00:00:00 2001 From: Patrick Niklaus Date: Sun, 1 May 2016 14:02:06 +0200 Subject: [PATCH] Output coordinates and time per coordinates --- unit_tests/library/route.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/unit_tests/library/route.cpp b/unit_tests/library/route.cpp index 153e418cb..62d0b9207 100644 --- a/unit_tests/library/route.cpp +++ b/unit_tests/library/route.cpp @@ -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()