increased time limits in perf tests
authorVladislav Vinogradov <vlad.vinogradov@itseez.com>
Wed, 20 Mar 2013 07:49:33 +0000 (11:49 +0400)
committerVladislav Vinogradov <vlad.vinogradov@itseez.com>
Thu, 21 Mar 2013 09:40:07 +0000 (13:40 +0400)
modules/gpu/perf/perf_calib3d.cpp
modules/gpu/perf/perf_denoising.cpp
modules/gpu/perf/perf_features2d.cpp
modules/gpu/perf/perf_imgproc.cpp
modules/gpu/perf/perf_objdetect.cpp
modules/gpu/perf/perf_video.cpp

index 3631236..8019c03 100644 (file)
@@ -13,7 +13,7 @@ DEF_PARAM_TEST_1(ImagePair, pair_string);
 PERF_TEST_P(ImagePair, Calib3D_StereoBM,
             Values(pair_string("gpu/perf/aloe.png", "gpu/perf/aloeR.png")))
 {
-    declare.time(5.0);
+    declare.time(300.0);
 
     const cv::Mat imgLeft = readImage(GET_PARAM(0), cv::IMREAD_GRAYSCALE);
     ASSERT_FALSE(imgLeft.empty());
@@ -54,7 +54,7 @@ PERF_TEST_P(ImagePair, Calib3D_StereoBM,
 PERF_TEST_P(ImagePair, Calib3D_StereoBeliefPropagation,
             Values(pair_string("gpu/stereobp/aloe-L.png", "gpu/stereobp/aloe-R.png")))
 {
-    declare.time(10.0);
+    declare.time(300.0);
 
     const cv::Mat imgLeft = readImage(GET_PARAM(0));
     ASSERT_FALSE(imgLeft.empty());
@@ -88,7 +88,7 @@ PERF_TEST_P(ImagePair, Calib3D_StereoBeliefPropagation,
 PERF_TEST_P(ImagePair, Calib3D_StereoConstantSpaceBP,
             Values(pair_string("gpu/stereobm/aloe-L.png", "gpu/stereobm/aloe-R.png")))
 {
-    declare.time(10.0);
+    declare.time(300.0);
 
     const cv::Mat imgLeft = readImage(GET_PARAM(0), cv::IMREAD_GRAYSCALE);
     ASSERT_FALSE(imgLeft.empty());
index e4ce9f3..9701225 100644 (file)
@@ -64,7 +64,7 @@ PERF_TEST_P(Sz_Depth_Cn_WinSz_BlockSz, Denoising_NonLocalMeans,
                     Values(21),
                     Values(5)))
 {
-    declare.time(60.0);
+    declare.time(600.0);
 
     const cv::Size size = GET_PARAM(0);
     const int depth = GET_PARAM(1);
index c6b1f59..e5a6ef3 100644 (file)
@@ -55,6 +55,8 @@ PERF_TEST_P(Image_NFeatures, Features2D_ORB,
             Combine(Values<string>("gpu/perf/aloe.png"),
                     Values(4000)))
 {
+    declare.time(300.0);
+
     const cv::Mat img = readImage(GET_PARAM(0), cv::IMREAD_GRAYSCALE);
     ASSERT_FALSE(img.empty());
 
index d1a8796..c984b04 100644 (file)
@@ -632,7 +632,7 @@ DEF_PARAM_TEST_1(Image, string);
 PERF_TEST_P(Image, ImgProc_MeanShiftFiltering,
             Values<string>("gpu/meanshift/cones.png"))
 {
-    declare.time(15.0);
+    declare.time(300.0);
 
     const cv::Mat img = readImage(GetParam());
     ASSERT_FALSE(img.empty());
@@ -668,7 +668,7 @@ PERF_TEST_P(Image, ImgProc_MeanShiftFiltering,
 PERF_TEST_P(Image, ImgProc_MeanShiftProc,
             Values<string>("gpu/meanshift/cones.png"))
 {
-    declare.time(5.0);
+    declare.time(300.0);
 
     const cv::Mat img = readImage(GetParam());
     ASSERT_FALSE(img.empty());
@@ -702,7 +702,7 @@ PERF_TEST_P(Image, ImgProc_MeanShiftProc,
 PERF_TEST_P(Image, ImgProc_MeanShiftSegmentation,
             Values<string>("gpu/meanshift/cones.png"))
 {
-    declare.time(5.0);
+    declare.time(300.0);
 
     const cv::Mat img = readImage(GetParam());
     ASSERT_FALSE(img.empty());
@@ -830,6 +830,8 @@ PERF_TEST_P(Sz_TemplateSz_Cn_Method, ImgProc_MatchTemplate8U,
                     GPU_CHANNELS_1_3_4,
                     ALL_TEMPLATE_METHODS))
 {
+    declare.time(300.0);
+
     const cv::Size size = GET_PARAM(0);
     const cv::Size templ_size = GET_PARAM(1);
     const int cn = GET_PARAM(2);
@@ -868,6 +870,8 @@ PERF_TEST_P(Sz_TemplateSz_Cn_Method, ImgProc_MatchTemplate32F,
                     GPU_CHANNELS_1_3_4,
                     Values(TemplateMethod(cv::TM_SQDIFF), TemplateMethod(cv::TM_CCORR))))
 {
+    declare.time(300.0);
+
     const cv::Size size = GET_PARAM(0);
     const cv::Size templ_size = GET_PARAM(1);
     const int cn = GET_PARAM(2);
index 51c8695..4f8e568 100644 (file)
@@ -19,6 +19,8 @@ PERF_TEST_P(Image, ObjDetect_HOG,
                            "gpu/caltech/image_00000527_0.png",
                            "gpu/caltech/image_00000574_0.png"))
 {
+    declare.time(300.0);
+
     const cv::Mat img = readImage(GetParam(), cv::IMREAD_GRAYSCALE);
     ASSERT_FALSE(img.empty());
 
index e9b38ed..86e129c 100644 (file)
@@ -142,7 +142,7 @@ PERF_TEST_P(Image_MinDistance, Video_GoodFeaturesToTrack,
 PERF_TEST_P(ImagePair, Video_BroxOpticalFlow,
             Values<pair_string>(make_pair("gpu/opticalflow/frame0.png", "gpu/opticalflow/frame1.png")))
 {
-    declare.time(10);
+    declare.time(300);
 
     cv::Mat frame0 = readImage(GetParam().first, cv::IMREAD_GRAYSCALE);
     ASSERT_FALSE(frame0.empty());