diff options
| author | radu.velea <radu.velea@intel.com> | 2015-10-06 08:05:15 -0700 |
|---|---|---|
| committer | Commit bot <commit-bot@chromium.org> | 2015-10-06 15:06:56 +0000 |
| commit | 0206f157d93f8c47ce959c76e029324ec9f35ff2 (patch) | |
| tree | b451d85987d89ee1dc62c59b5f393cf3d72bfeb9 /content/browser/tracing/background_tracing_config_unittest.cc | |
| parent | d878cd0f66a72eb4096101c17cee20a458718283 (diff) | |
| download | chromium_src-0206f157d93f8c47ce959c76e029324ec9f35ff2.zip chromium_src-0206f157d93f8c47ce959c76e029324ec9f35ff2.tar.gz chromium_src-0206f157d93f8c47ce959c76e029324ec9f35ff2.tar.bz2 | |
Use the caching transform prelude for non-SSE code in transform.c
Follow on from https://codereview.chromium.org/1299203002, use
the cache for the qcms_transform_data_tetra_clut_rgba s/w path
also. Note: this s/w code path is not currently used in chrome
(the SSE code path is always selected).
Before this CL:
Windows 64 bit:
./out/Release_x64/qcms_test.exe -i 40 -w 2880 -h 1800
Test qcms clut transforms for 40 iterations
Test image size 2880 x 1800 pixels
15.533663 (avg 0.388342) seconds qcms_transform_data_tetra_clut_rgba
4.307897 (avg 0.107697) seconds qcms_transform_data_tetra_clut_rgba_sse2
3.605858 speedup after 40 iterations
Linux 64 bit:
./out/Release/qcms_test -i 40 -w 2880 -h 1800
Test qcms clut transforms for 40 iterations
Test image size 2880 x 1800 pixels
7.678742 (avg 0.191969) seconds qcms_transform_data_tetra_clut_rgba
3.138837 (avg 0.078471) seconds qcms_transform_data_tetra_clut_rgba_sse2
2.446366 speedup after 40 iterations
With this CL:
Windows 64 bit:
./out/Release_x64/qcms_test.exe -i 40 -w 2880 -h 1800
Test qcms clut transforms for 40 iterations
Test image size 2880 x 1800 pixels
9.351532 (avg 0.233788) seconds qcms_transform_data_tetra_clut_rgba
4.337411 (avg 0.108435) seconds qcms_transform_data_tetra_clut_rgba_sse2
2.156017 speedup after 40 iterations
Linux 64 bit:
./out/Release/qcms_test -i 40 -w 2880 -h 1800
Test qcms clut transforms for 40 iterations
Test image size 2880 x 1800 pixels
5.444788 (avg 0.136120) seconds qcms_transform_data_tetra_clut_rgba
3.143324 (avg 0.078583) seconds qcms_transform_data_tetra_clut_rgba_sse2
1.732175 speedup after 40 iterations
Win software path 388ms -> 233ms, no change in the SSE path as
expected (it was speedup by the previous code review).
Also compared to where we were before doing tetra SSE, the s/w
path has been speedup by ~2x, and the SSE path 4.25x. Absolute
frame speed of the SSE is now faster than SkColorCubeFilter on
win-x64 (122ms).
CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel,mac_blink_rel,win_blink_rel
BUG=506607
Review URL: https://codereview.chromium.org/1391603002
Cr-Commit-Position: refs/heads/master@{#352603}
Diffstat (limited to 'content/browser/tracing/background_tracing_config_unittest.cc')
0 files changed, 0 insertions, 0 deletions
