mirror of
https://github.com/opencv/opencv.git
synced 2026-12-02 13:16:32 -06:00
tests: reduce iterations, input sizes and perf grids of slow tests
Signed-off-by: abhishek-gola <abhishek@opencv.org>
This commit is contained in:
committed by
Abhishek Gola
parent
8a1083b85a
commit
0cfdeb800f
@@ -235,7 +235,10 @@ PERF_TEST_P(Encode, animation, testing::ValuesIn(exts_anim))
|
||||
SANITY_CHECK_NOTHING();
|
||||
}
|
||||
|
||||
PERF_TEST_P(Encode, multi_page, testing::ValuesIn(exts_multi))
|
||||
#ifdef HAVE_TIFF
|
||||
// Only TIFF has its own writemulti(); for the other formats multi-page I/O goes through
|
||||
// writeanimation() and the same reader, which Encode.animation / Decode.animation measure.
|
||||
PERF_TEST_P(Encode, multi_page, testing::Values(".tiff"))
|
||||
{
|
||||
Animation animation = makeCirclesAnimation();
|
||||
|
||||
@@ -247,6 +250,7 @@ PERF_TEST_P(Encode, multi_page, testing::ValuesIn(exts_multi))
|
||||
|
||||
SANITY_CHECK_NOTHING();
|
||||
}
|
||||
#endif // HAVE_TIFF
|
||||
|
||||
PERF_TEST_P(Decode, animation, testing::ValuesIn(exts_anim))
|
||||
{
|
||||
@@ -263,7 +267,8 @@ PERF_TEST_P(Decode, animation, testing::ValuesIn(exts_anim))
|
||||
SANITY_CHECK_NOTHING();
|
||||
}
|
||||
|
||||
PERF_TEST_P(Decode, multi_page, testing::ValuesIn(exts_multi))
|
||||
#ifdef HAVE_TIFF
|
||||
PERF_TEST_P(Decode, multi_page, testing::Values(".tiff"))
|
||||
{
|
||||
Animation animation = makeCirclesAnimation();
|
||||
vector<uchar> buf;
|
||||
@@ -277,5 +282,6 @@ PERF_TEST_P(Decode, multi_page, testing::ValuesIn(exts_multi))
|
||||
|
||||
SANITY_CHECK_NOTHING();
|
||||
}
|
||||
#endif // HAVE_TIFF
|
||||
|
||||
} // namespace
|
||||
|
||||
Reference in New Issue
Block a user