Bug 223471

Summary: Avoid copying item data when iterating in-process display lists
Product: WebKit Reporter: Wenson Hsieh <wenson_hsieh>
Component: WebCore Misc.Assignee: Wenson Hsieh <wenson_hsieh>
Status: RESOLVED FIXED    
Severity: Normal CC: sabouhallawa, simon.fraser, thorton, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Description Wenson Hsieh 2021-03-18 12:46:11 PDT
This copy is unnecessary (and potentially expensive) in the case of in-process display lists (e.g. the display lists used to cache glyph data when painting text at high frequency).

Impacts the Design subtest of MotionMark.
Comment 1 Wenson Hsieh 2021-03-18 13:03:56 PDT
Created attachment 423639 [details]
Patch
Comment 2 Wenson Hsieh 2021-03-18 13:35:21 PDT
(After a few quick tests, this seems to give us around +5% on Design)
Comment 3 EWS 2021-03-18 16:43:00 PDT
Committed r274688: <https://commits.webkit.org/r274688>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 423639 [details].
Comment 4 Radar WebKit Bug Importer 2021-03-18 16:43:16 PDT
<rdar://problem/75597154>