Bug 276541

Summary: Speedup setting canvas colors from strings
Product: WebKit Reporter: Sam Weinig <sam>
Component: CanvasAssignee: Sam Weinig <sam>
Status: RESOLVED FIXED    
Severity: Normal CC: sabouhallawa, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Other   
Hardware: Unspecified   
OS: Unspecified   

Sam Weinig
Reported 2024-07-12 10:23:36 PDT
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.
Attachments
Sam Weinig
Comment 1 2024-07-12 10:45:40 PDT
EWS
Comment 2 2024-07-15 11:47:52 PDT
Committed 280976@main (567ebfd314d6): <https://commits.webkit.org/280976@main> Reviewed commits have been landed. Closing PR #30752 and removing active labels.
Radar WebKit Bug Importer
Comment 3 2024-07-15 11:53:06 PDT
EWS
Comment 4 2024-07-17 22:49:17 PDT
Committed 280938.35@integration/ci/129823685_567ebfd314_safari-7619-branch (3f850789fc83): <https://commits.webkit.org/280938.35@integration/ci/129823685_567ebfd314_safari-7619-branch> Reviewed commits have been landed. Closing PR #1389 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.