use fewer iterations in performance test of smart handles when in debug build
This commit is contained in:
@@ -415,7 +415,11 @@ TEST_F(OpenMeshSmartHandles, ComplicatedNavigtaion)
|
|||||||
*/
|
*/
|
||||||
TEST_F(OpenMeshSmartHandles, Performance)
|
TEST_F(OpenMeshSmartHandles, Performance)
|
||||||
{
|
{
|
||||||
|
#if DEBUG
|
||||||
|
int n_tests = 300000;
|
||||||
|
#else
|
||||||
int n_tests = 10000000;
|
int n_tests = 10000000;
|
||||||
|
#endif
|
||||||
|
|
||||||
auto t_before_old = std::chrono::high_resolution_clock::now();
|
auto t_before_old = std::chrono::high_resolution_clock::now();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user