From f0adb5688f622ef08d19ec631d2207419a1e9fd5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Thu, 7 Jun 2018 12:59:11 +0200 Subject: [PATCH] Math/Geometry: reduce benchmark iterations. It still runs with acceptable error but at a quarter time. The iteration count can be always increased from command-line. --- src/Magnum/Math/Geometry/Test/IntersectionBenchmark.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Magnum/Math/Geometry/Test/IntersectionBenchmark.cpp b/src/Magnum/Math/Geometry/Test/IntersectionBenchmark.cpp index f285fe348..4a946b35e 100644 --- a/src/Magnum/Math/Geometry/Test/IntersectionBenchmark.cpp +++ b/src/Magnum/Math/Geometry/Test/IntersectionBenchmark.cpp @@ -131,7 +131,7 @@ IntersectionBenchmark::IntersectionBenchmark() { &IntersectionBenchmark::sphereConeNaive, &IntersectionBenchmark::sphereCone, - &IntersectionBenchmark::sphereConeView}, 25); + &IntersectionBenchmark::sphereConeView}, 10); /* Generate random data for the benchmarks */ std::random_device rnd;