[Webkit-unassigned] [Bug 50804] [chromium] Reduce canvas.toDataURL("image/jpeg") run-time cost by 10%

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Dec 14 21:44:03 PST 2010


https://bugs.webkit.org/show_bug.cgi?id=50804





--- Comment #16 from noel gordon <noel.gordon at gmail.com>  2010-12-14 21:44:02 PST ---
(In reply to comment #14)
> (In reply to comment #12)
> > I'm fine with this change, but I'm surprised that putting the conditional in the loop doesn't make performance worse.
> > Perhaps your tests are mostly alpha 255 or 0, and are benefiting disproportionately from branch prediction?
> 
> Apply the first statement to canvas.getImageData and canvas.putImageData :)  

correction, those are templated.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list