Bug 276541
Summary: | Speedup setting canvas colors from strings | ||
---|---|---|---|
Product: | WebKit | Reporter: | Sam Weinig <sam> |
Component: | Canvas | Assignee: | 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
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 | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Sam Weinig
Pull request: https://github.com/WebKit/WebKit/pull/30752
EWS
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
<rdar://problem/131772369>
EWS
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.