Bug 225187 - Share style resolvers between author shadow trees with identical style
Summary: Share style resolvers between author shadow trees with identical style
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on: 225102
Blocks: 148695 222187
  Show dependency treegraph
 
Reported: 2021-04-29 04:37 PDT by Antti Koivisto
Modified: 2021-05-01 22:22 PDT (History)
4 users (show)

See Also:


Attachments
patch (9.60 KB, patch)
2021-04-30 07:21 PDT, Antti Koivisto
no flags Details | Formatted Diff | Diff
patch (9.45 KB, patch)
2021-04-30 08:32 PDT, Antti Koivisto
no flags Details | Formatted Diff | Diff
patch (9.45 KB, patch)
2021-04-30 08:50 PDT, Antti Koivisto
no flags Details | Formatted Diff | Diff
patch (9.46 KB, patch)
2021-04-30 08:58 PDT, Antti Koivisto
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Antti Koivisto 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.
Comment 1 Radar WebKit Bug Importer 2021-04-29 05:41:48 PDT
<rdar://problem/77317178>
Comment 2 Antti Koivisto 2021-04-30 07:21:40 PDT
Created attachment 427416 [details]
patch
Comment 3 Antti Koivisto 2021-04-30 08:32:27 PDT
Created attachment 427422 [details]
patch
Comment 4 Antti Koivisto 2021-04-30 08:50:00 PDT
Created attachment 427424 [details]
patch
Comment 5 Antti Koivisto 2021-04-30 08:58:42 PDT
Created attachment 427425 [details]
patch
Comment 6 EWS 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].