watery01 / libyuv

Automatically exported from code.google.com/p/libyuv
0 stars 0 forks source link

YToARGB_Any is slow #163

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
chronos@localhost $ ./runyuv10 YToARGB*
sudo LIBYUV_REPEAT=1000 nice --5 ./libyuv_unittest --gtest_filter=*YToARGB* | 
sed 's/\(.*(\)\([0-9]*\)\( ms)\)/\2 - \1\2\3/g' | sort -rn | grep ms
6069 - [       OK ] libyuvTest.YToARGB_Any (6069 ms)
2440 - [       OK ] libyuvTest.YToARGB_Invert (2440 ms)
2431 - [       OK ] libyuvTest.YToARGB_Unaligned (2431 ms)
2426 - [       OK ] libyuvTest.YToARGB_Opt (2426 ms)
215 - [       OK ] libyuvTest.YToARGB_Random (215 ms)
[==========] 10 tests from 1 test case ran. (27628 ms total)
[----------] 10 tests from libyuvTest (27628 ms total)

Original issue reported on code.google.com by fbarch...@google.com on 27 Nov 2012 at 8:41

GoogleCodeExporter commented 9 years ago
fixed in r506
Arm
libyuvTest.YToARGB_Invert (2439 ms)
libyuvTest.YToARGB_Unaligned (2438 ms)
libyuvTest.YToARGB_Any (2432 ms)
libyuvTest.YToARGB_Opt (2417 ms)
libyuvTest.YToARGB_Random (212 ms)

Intel
Was
libyuvTest.YToARGB_Any (16415 ms)
libyuvTest.YToARGB_Opt (451 ms)
libyuvTest.YToARGB_Invert (430 ms)
libyuvTest.YToARGB_Unaligned (427 ms)
libyuvTest.YToARGB_Random (117 ms)

Now
libyuvTest.YToARGB_Any (487 ms)
libyuvTest.YToARGB_Unaligned (433 ms)
libyuvTest.YToARGB_Opt (427 ms)
libyuvTest.YToARGB_Invert (422 ms)
libyuvTest.YToARGB_Random (125 ms)

Original comment by fbarch...@chromium.org on 28 Nov 2012 at 8:05