use fewer iterations in performance test of smart handles when in debug build

This commit is contained in:
Max Lyon
2019-09-27 10:39:10 +02:00
parent 8446eaee6f
commit e0d8f2dbe0

View File

@@ -415,7 +415,11 @@ TEST_F(OpenMeshSmartHandles, ComplicatedNavigtaion)
*/
TEST_F(OpenMeshSmartHandles, Performance)
{
#if DEBUG
int n_tests = 300000;
#else
int n_tests = 10000000;
#endif
auto t_before_old = std::chrono::high_resolution_clock::now();