Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
5047b3fb
Commit
5047b3fb
authored
Nov 28, 2012
by
Andrey Kamaev
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #193 from AnnaKogan8/perf-tests-increase-time-limits
Increased time limits for perf tests
parents
e1a4d22d
4e21f427
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
22 additions
and
2 deletions
+22
-2
perf_pnp.cpp
modules/calib3d/perf/perf_pnp.cpp
+1
-0
perf_arithm.cpp
modules/core/perf/perf_arithm.cpp
+1
-0
perf_bitwise.cpp
modules/core/perf/perf_bitwise.cpp
+4
-0
perf_dot.cpp
modules/core/perf/perf_dot.cpp
+1
-0
perf_norm.cpp
modules/core/perf/perf_norm.cpp
+1
-0
perf_reduce.cpp
modules/core/perf/perf_reduce.cpp
+2
-0
perf_batchDistance.cpp
modules/features2d/perf/perf_batchDistance.cpp
+2
-0
perf_cvt_color.cpp
modules/imgproc/perf/perf_cvt_color.cpp
+2
-0
perf_houghLines.cpp
modules/imgproc/perf/perf_houghLines.cpp
+1
-1
perf_integral.cpp
modules/imgproc/perf/perf_integral.cpp
+2
-0
perf_resize.cpp
modules/imgproc/perf/perf_resize.cpp
+1
-0
perf_threshold.cpp
modules/imgproc/perf/perf_threshold.cpp
+1
-0
perf_warp.cpp
modules/imgproc/perf/perf_warp.cpp
+1
-0
perf_inpaint.cpp
modules/photo/perf/perf_inpaint.cpp
+1
-1
perf_optflowpyrlk.cpp
modules/video/perf/perf_optflowpyrlk.cpp
+1
-0
No files found.
modules/calib3d/perf/perf_pnp.cpp
View file @
5047b3fb
...
...
@@ -86,6 +86,7 @@ PERF_TEST(PointsNum_Algo, solveP3P)
add
(
points2d
,
noise
,
points2d
);
declare
.
in
(
points3d
,
points2d
);
declare
.
time
(
100
);
TEST_CYCLE_N
(
1000
)
{
...
...
modules/core/perf/perf_arithm.cpp
View file @
5047b3fb
...
...
@@ -123,6 +123,7 @@ PERF_TEST_P(Size_MatType, add, TYPICAL_MATS_CORE_ARITHM)
cv
::
Mat
c
=
Mat
(
sz
,
type
);
declare
.
in
(
a
,
b
,
WARMUP_RNG
).
out
(
c
);
declare
.
time
(
50
);
if
(
CV_MAT_DEPTH
(
type
)
==
CV_32S
)
{
...
...
modules/core/perf/perf_bitwise.cpp
View file @
5047b3fb
...
...
@@ -19,6 +19,7 @@ PERF_TEST_P(Size_MatType, bitwise_not, TYPICAL_MATS_BITW_ARITHM)
cv
::
Mat
c
=
Mat
(
sz
,
type
);
declare
.
in
(
a
,
WARMUP_RNG
).
out
(
c
);
declare
.
time
(
100
);
TEST_CYCLE
()
cv
::
bitwise_not
(
a
,
c
);
...
...
@@ -34,6 +35,7 @@ PERF_TEST_P(Size_MatType, bitwise_and, TYPICAL_MATS_BITW_ARITHM)
cv
::
Mat
c
=
Mat
(
sz
,
type
);
declare
.
in
(
a
,
b
,
WARMUP_RNG
).
out
(
c
);
declare
.
time
(
100
);
TEST_CYCLE
()
bitwise_and
(
a
,
b
,
c
);
...
...
@@ -49,6 +51,7 @@ PERF_TEST_P(Size_MatType, bitwise_or, TYPICAL_MATS_BITW_ARITHM)
cv
::
Mat
c
=
Mat
(
sz
,
type
);
declare
.
in
(
a
,
b
,
WARMUP_RNG
).
out
(
c
);
declare
.
time
(
100
);
TEST_CYCLE
()
bitwise_or
(
a
,
b
,
c
);
...
...
@@ -64,6 +67,7 @@ PERF_TEST_P(Size_MatType, bitwise_xor, TYPICAL_MATS_BITW_ARITHM)
cv
::
Mat
c
=
Mat
(
sz
,
type
);
declare
.
in
(
a
,
b
,
WARMUP_RNG
).
out
(
c
);
declare
.
time
(
100
);
TEST_CYCLE
()
bitwise_xor
(
a
,
b
,
c
);
...
...
modules/core/perf/perf_dot.cpp
View file @
5047b3fb
...
...
@@ -21,6 +21,7 @@ PERF_TEST_P( MatType_Length, dot,
Mat
b
(
size
,
size
,
type
);
declare
.
in
(
a
,
b
,
WARMUP_RNG
);
declare
.
time
(
100
);
double
product
;
...
...
modules/core/perf/perf_norm.cpp
View file @
5047b3fb
...
...
@@ -150,6 +150,7 @@ PERF_TEST_P(Size_MatType_NormType, normalize_mask,
if
(
normType
==
NORM_L2
)
alpha
=
(
double
)
src
.
total
()
/
10
;
declare
.
in
(
src
,
WARMUP_RNG
).
in
(
mask
).
out
(
dst
);
declare
.
time
(
100
);
TEST_CYCLE
()
normalize
(
src
,
dst
,
alpha
,
0.
,
normType
,
-
1
,
mask
);
...
...
modules/core/perf/perf_reduce.cpp
View file @
5047b3fb
...
...
@@ -32,6 +32,7 @@ PERF_TEST_P(Size_MatType_ROp, reduceR,
Mat
vec
(
1
,
sz
.
width
,
ddepth
<
0
?
matType
:
ddepth
);
declare
.
in
(
src
,
WARMUP_RNG
).
out
(
vec
);
declare
.
time
(
100
);
TEST_CYCLE
()
reduce
(
src
,
vec
,
0
,
reduceOp
,
ddepth
);
...
...
@@ -58,6 +59,7 @@ PERF_TEST_P(Size_MatType_ROp, reduceC,
Mat
vec
(
sz
.
height
,
1
,
ddepth
<
0
?
matType
:
ddepth
);
declare
.
in
(
src
,
WARMUP_RNG
).
out
(
vec
);
declare
.
time
(
100
);
TEST_CYCLE
()
reduce
(
src
,
vec
,
1
,
reduceOp
,
ddepth
);
...
...
modules/features2d/perf/perf_batchDistance.cpp
View file @
5047b3fb
...
...
@@ -92,6 +92,7 @@ PERF_TEST_P(Source_CrossCheck, batchDistance_L2,
generateData
(
queryDescriptors
,
trainDescriptors
,
sourceType
);
declare
.
time
(
50
);
TEST_CYCLE
()
{
batchDistance
(
queryDescriptors
,
trainDescriptors
,
dist
,
CV_32F
,
(
isCrossCheck
)
?
ndix
:
noArray
(),
...
...
@@ -118,6 +119,7 @@ PERF_TEST_P(Norm_CrossCheck, batchDistance_32F,
Mat
ndix
;
generateData
(
queryDescriptors
,
trainDescriptors
,
CV_32F
);
declare
.
time
(
100
);
TEST_CYCLE
()
{
...
...
modules/imgproc/perf/perf_cvt_color.cpp
View file @
5047b3fb
...
...
@@ -244,6 +244,7 @@ PERF_TEST_P(Size_CvtMode, cvtColor8u,
Mat
src
(
sz
,
CV_8UC
(
ch
.
scn
));
Mat
dst
(
sz
,
CV_8UC
(
ch
.
dcn
));
declare
.
time
(
100
);
declare
.
in
(
src
,
WARMUP_RNG
).
out
(
dst
);
TEST_CYCLE
()
cvtColor
(
src
,
dst
,
mode
,
ch
.
dcn
);
...
...
@@ -268,6 +269,7 @@ PERF_TEST_P(Size_CvtMode2, cvtColorYUV420,
Mat
src
(
sz
.
height
+
sz
.
height
/
2
,
sz
.
width
,
CV_8UC
(
ch
.
scn
));
Mat
dst
(
sz
,
CV_8UC
(
ch
.
dcn
));
declare
.
time
(
100
);
declare
.
in
(
src
,
WARMUP_RNG
).
out
(
dst
);
TEST_CYCLE
()
cvtColor
(
src
,
dst
,
mode
,
ch
.
dcn
);
...
...
modules/imgproc/perf/perf_houghLines.cpp
View file @
5047b3fb
...
...
@@ -32,7 +32,7 @@ PERF_TEST_P(Image_RhoStep_ThetaStep_Threshold, HoughLines,
Canny
(
image
,
image
,
0
,
0
);
Mat
lines
;
declare
.
time
(
7
);
declare
.
time
(
40
);
TEST_CYCLE
()
HoughLines
(
image
,
lines
,
rhoStep
,
thetaStep
,
threshold
);
...
...
modules/imgproc/perf/perf_integral.cpp
View file @
5047b3fb
...
...
@@ -48,6 +48,7 @@ PERF_TEST_P(Size_MatType_OutMatDepth, integral_sqsum,
Mat
sqsum
(
sz
,
sdepth
);
declare
.
in
(
src
,
WARMUP_RNG
).
out
(
sum
,
sqsum
);
declare
.
time
(
100
);
TEST_CYCLE
()
integral
(
src
,
sum
,
sqsum
,
sdepth
);
...
...
@@ -73,6 +74,7 @@ PERF_TEST_P( Size_MatType_OutMatDepth, integral_sqsum_tilted,
Mat
tilted
(
sz
,
sdepth
);
declare
.
in
(
src
,
WARMUP_RNG
).
out
(
sum
,
sqsum
,
tilted
);
declare
.
time
(
100
);
TEST_CYCLE
()
integral
(
src
,
sum
,
sqsum
,
tilted
,
sdepth
);
...
...
modules/imgproc/perf/perf_resize.cpp
View file @
5047b3fb
...
...
@@ -106,6 +106,7 @@ PERF_TEST_P(MatInfo_Size_Scale_Area, ResizeArea,
cv
::
Mat
dst
(
to
,
matType
);
declare
.
in
(
src
,
WARMUP_RNG
).
out
(
dst
);
declare
.
time
(
100
);
TEST_CYCLE
()
resize
(
src
,
dst
,
dst
.
size
(),
0
,
0
,
INTER_AREA
);
...
...
modules/imgproc/perf/perf_threshold.cpp
View file @
5047b3fb
...
...
@@ -31,6 +31,7 @@ PERF_TEST_P(Size_MatType_ThreshType, threshold,
double
maxval
=
theRNG
().
uniform
(
1
,
254
);
declare
.
in
(
src
,
WARMUP_RNG
).
out
(
dst
);
declare
.
time
(
100
);
TEST_CYCLE
()
threshold
(
src
,
dst
,
thresh
,
maxval
,
threshType
);
...
...
modules/imgproc/perf/perf_warp.cpp
View file @
5047b3fb
...
...
@@ -133,6 +133,7 @@ PERF_TEST_P( TestWarpPerspectiveNear_t, WarpPerspectiveNear,
Mat
dst
(
size
,
type
);
declare
.
in
(
src
).
out
(
dst
);
declare
.
time
(
100
);
TEST_CYCLE
()
{
...
...
modules/photo/perf/perf_inpaint.cpp
View file @
5047b3fb
...
...
@@ -29,7 +29,7 @@ PERF_TEST_P(InpaintArea_InpaintingMethod, inpaint,
Rect
inpaintArea
(
src
.
cols
/
3
,
src
.
rows
/
3
,
sz
.
width
,
sz
.
height
);
mask
(
inpaintArea
).
setTo
(
255
);
declare
.
in
(
src
,
mask
).
out
(
result
).
time
(
3
0
);
declare
.
in
(
src
,
mask
).
out
(
result
).
time
(
12
0
);
TEST_CYCLE
()
inpaint
(
src
,
mask
,
result
,
10.0
,
inpaintingMethod
);
...
...
modules/video/perf/perf_optflowpyrlk.cpp
View file @
5047b3fb
...
...
@@ -163,6 +163,7 @@ PERF_TEST_P(Path_Idx_Cn_NPoints_WSize_Deriv, OpticalFlowPyrLK_self, testing::Com
maxLevel
=
buildOpticalFlowPyramid
(
frame2
,
pyramid2
,
Size
(
winSize
,
winSize
),
maxLevel
,
withDerivatives
);
declare
.
in
(
pyramid1
,
pyramid2
,
inPoints
).
out
(
outPoints
);
declare
.
time
(
400
);
TEST_CYCLE
()
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment