removed test comparison output
This commit is contained in:
parent
8041535b51
commit
bacf5af6ff
6
main.cpp
6
main.cpp
@ -84,7 +84,6 @@ int main (int argc, char **argv)
|
||||
{
|
||||
std::list<Point> hull;
|
||||
std::chrono::duration<double, std::milli> total;
|
||||
auto start2 = std::chrono::high_resolution_clock::now(); // TODO: remove, just for comparison
|
||||
for (int i = 0; i < runs; ++i)
|
||||
{
|
||||
std::cout << "running quickhull perf mode " << (i + 1) << " of " << runs << "..." << std::endl;
|
||||
@ -99,11 +98,6 @@ int main (int argc, char **argv)
|
||||
}
|
||||
else
|
||||
{
|
||||
// ---------------------------------------------------------------
|
||||
// TODO: remove, just for comparison
|
||||
auto diff2 = std::chrono::duration<double, std::milli>(std::chrono::high_resolution_clock::now() - start2);
|
||||
std::cout << "total time spent: " << diff2.count() << "ms" << std::endl;
|
||||
// ---------------------------------------------------------------
|
||||
std::cout << "average time spent: " << total.count()/runs << "ms" << std::endl;
|
||||
Quickhull::show(points, hull);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user