Chromium Code Reviews
Descriptioncc: Optimize ImageDecodeCacheKey::FromDrawImage.
This patch reduces the time spent in ::FromDrawImage call by 50%. Comes
with a corresponding perftest. This is a frequently used function
when it comes to dealing with software images, so any savings should
be good.
Perftest result without the sidc change (z620):
*RESULT software_image_decode_cache_fromdrawimage: result= 318435.53125 runs/s
With the change:
*RESULT software_image_decode_cache_fromdrawimage: result= 657221.0625 runs/s (+106%)
R=enne@chromium.org, ericrk@chromium.org
CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel
Review-Url: https://codereview.chromium.org/2669933002
Cr-Commit-Position: refs/heads/master@{#447882}
Committed: https://chromium.googlesource.com/chromium/src/+/13778fbf14dab7f317d3679e75dbdd1aad28697e
Patch Set 1 #Patch Set 2 : 8k->4k #
Total comments: 8
Patch Set 3 : update #
Messages
Total messages: 13 (5 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||