[Webkit-unassigned] [Bug 276541] New: Speedup setting canvas colors from strings

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jul 12 10:23:36 PDT 2024


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

            Bug ID: 276541
           Summary: Speedup setting canvas colors from strings
           Product: WebKit
           Version: Other
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Canvas
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: sam at webkit.org
                CC: sabouhallawa at apple.com

Speedup the common case for setting canvas colors from strings by:

- Ensuring the fast path (CSSParserFastPaths::parseSimpleColor) is called before any additional work is done to setup things like the eager resolution context.
- Remove the allocation of the eager resolution context by using it directly from the stack.

-- 
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/20240712/4da4f9b2/attachment.htm>


More information about the webkit-unassigned mailing list