Bug 225187

Summary: Share style resolvers between author shadow trees with identical style
Product: WebKit Reporter: Antti Koivisto <koivisto>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: emilio, rniwa, sam, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 225102    
Bug Blocks: 148695, 222187    
Attachments:
Description Flags
patch
none
patch
none
patch
none
patch none

Antti Koivisto
Reported 2021-04-29 04:37:37 PDT
It is common for a web components based application to have many shadow trees with identical style. We should share the style resolver for better performance and lower memory usage.
Attachments
patch (9.60 KB, patch)
2021-04-30 07:21 PDT, Antti Koivisto
no flags
patch (9.45 KB, patch)
2021-04-30 08:32 PDT, Antti Koivisto
no flags
patch (9.45 KB, patch)
2021-04-30 08:50 PDT, Antti Koivisto
no flags
patch (9.46 KB, patch)
2021-04-30 08:58 PDT, Antti Koivisto
no flags
Radar WebKit Bug Importer
Comment 1 2021-04-29 05:41:48 PDT
Antti Koivisto
Comment 2 2021-04-30 07:21:40 PDT
Antti Koivisto
Comment 3 2021-04-30 08:32:27 PDT
Antti Koivisto
Comment 4 2021-04-30 08:50:00 PDT
Antti Koivisto
Comment 5 2021-04-30 08:58:42 PDT
EWS
Comment 6 2021-05-01 22:22:57 PDT
Committed r276882 (237228@main): <https://commits.webkit.org/237228@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 427425 [details].
Note You need to log in before you can comment on or make changes to this bug.