Bug 80634

Summary: Investigate adding instrumentation to our style sharing code
Product: WebKit Reporter: Julien Chaffraix <jchaffraix>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: RESOLVED INVALID    
Severity: Normal CC: burg, kling, koivisto, shezbaig.wk
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Bug Depends on: 82298    
Bug Blocks:    
Attachments:
Description Flags
Quick and super dirty patch I have been using to get some statistics on our style sharing none

Julien Chaffraix
Reported 2012-03-08 13:29:25 PST
Currently, we don't know how much saving we are making (performance or memory wise), lest the percentage of styles that are shared between elements. Style sharing is improving performance as we don't need to re-apply our styles yet we don't want to make canShareStyleWithElement slow. Instrumenting would give us more insight into how to make this trade-off.
Attachments
Quick and super dirty patch I have been using to get some statistics on our style sharing (7.61 KB, patch)
2012-03-21 20:11 PDT, Julien Chaffraix
no flags
Julien Chaffraix
Comment 1 2012-03-21 20:11:38 PDT
Created attachment 133175 [details] Quick and super dirty patch I have been using to get some statistics on our style sharing
Note You need to log in before you can comment on or make changes to this bug.