[Webkit-unassigned] [Bug 216104] New: [CG] Cache the last status of the image encoded data

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Sep 2 15:48:54 PDT 2020


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

            Bug ID: 216104
           Summary: [CG] Cache the last status of the image encoded data
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Images
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: sabouhallawa at apple.com

In one of the WebKit traces, opening a Wikipedia page shows that CGImageSourceCopyPropertiesAtIndex() was called over 500 times. ImageDecoderCG::encodedDataStatus() keeps calling this function as long as the encoded data is not complete. This may happen if the network is slow. This case can be optimized by caching the last status of the image encoded data.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200902/9adf7481/attachment-0001.htm>


More information about the webkit-unassigned mailing list