Bug 80634 - Investigate adding instrumentation to our style sharing code
Summary: Investigate adding instrumentation to our style sharing code
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on: 82298
Blocks:
  Show dependency treegraph
 
Reported: 2012-03-08 13:29 PST by Julien Chaffraix
Modified: 2014-09-01 11:38 PDT (History)
4 users (show)

See Also:


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 Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Julien Chaffraix 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.
Comment 1 Julien Chaffraix 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