Bug 88585 - Add instrumentation for the number of RenderLayers in a page
Summary: Add instrumentation for the number of RenderLayers in a page
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-07 15:43 PDT by Julien Chaffraix
Modified: 2017-07-18 08:30 PDT (History)
1 user (show)

See Also:


Attachments
(Not for review) WIP patch about logging deeper info, unfortunately will slow down every loads regardless of whether histograms are enabled (3.69 KB, patch)
2012-06-07 17:18 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-06-07 15:43:13 PDT
Currently we only know the aggregate number of objects in the render tree.

Following bug 88579, it would be nice to know how many RenderLayers an average page has. This would give us some idea how much savings shrinking RenderLayer could yield to. While at it, it may be worth considering a finer grained counting of other types of RenderObject (RenderBoxes, RenderBlocks, ...)
Comment 1 Ojan Vafai 2012-06-07 15:44:36 PDT
(In reply to comment #0)
> Currently we only know the aggregate number of objects in the render tree.

We only know the aggregate number of bytes allocated through the RenderArena.
Comment 2 Julien Chaffraix 2012-06-07 17:18:58 PDT
Created attachment 146424 [details]
(Not for review) WIP patch about logging deeper info, unfortunately will slow down every loads regardless of whether histograms are enabled