Bug 158356

Summary: Give RuleFeatures::classesMatchingAncestors some inline capacity.
Product: WebKit Reporter: Andreas Kling <kling>
Component: CSSAssignee: Andreas Kling <kling>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, koivisto
Priority: P2 Keywords: Performance
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Description Andreas Kling 2016-06-03 14:15:20 PDT
There are about 362K Vector<AtomicStringImpl*> backing stores getting allocated and freed on a run of PLUM, in the RuleFeatures::classesMatchingAncestors vector.
Since RuleFeatures is only ever stack-allocated, we can avoid most/all of this by giving it some inline capacity.
Comment 1 Andreas Kling 2016-06-03 14:15:54 PDT
Created attachment 280463 [details]
Patch
Comment 2 WebKit Commit Bot 2016-06-05 08:18:42 PDT
Comment on attachment 280463 [details]
Patch

Clearing flags on attachment: 280463

Committed r201697: <http://trac.webkit.org/changeset/201697>
Comment 3 WebKit Commit Bot 2016-06-05 08:18:46 PDT
All reviewed patches have been landed.  Closing bug.