foolab / libyuv

Automatically exported from code.google.com/p/libyuv
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

unittests are slow - Optimize #273

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When running under emulators like sde, drmemory or valgrind, unittests run slow.

timex emuyuv
[----------] Global test environment tear-down
[==========] 739 tests from 1 test case ran. (92632 ms total)
[  PASSED  ] 739 tests.
TIMEX 95660.00 ms (95.66 seconds) (1.59 minutes), emuyuv

Scale is the main culpret
timex emuyuv Scale*
[==========] 154 tests from 1 test case ran. (73385 ms total)
[  PASSED  ] 154 tests.
TIMEX 76473.00 ms (76.47 seconds) (1.27 minutes), emuyuv Scale*

Original issue reported on code.google.com by fbarch...@google.com on 29 Sep 2013 at 12:26

GoogleCodeExporter commented 9 years ago
Removed some scale tests and ssim benchmark which shouldnt hurt coverage.

TIMEX 1362.00 ms (1.36 seconds), out\release\libyuv_unittest
TIMEX 26297.00 ms (26.30 seconds), c:\intelsde\sde -ast -hsw -- 
out\release\libyuv_unittest.exe

Original comment by fbarch...@google.com on 21 Oct 2013 at 8:31