Closed Bug 1035998 Opened 10 years ago Closed 10 years ago

Annotate painting with display item information

Categories

(Core :: Layout, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla33

People

(Reporter: BenWa, Assigned: BenWa)

Details

Attachments

(3 files)

Currently when profiling we have no easy way to answer the following question:
- Did one display item dominate the cost or was the cost eventually distributed.
- How much time does this section of my page take to paint.
- What part of the page was responsible for this large paint.

We can sometimes answer the above but only if you can trivialize the problem. For example on task.js which has a large gradient background we spend a lot of time in PaintGradient. However in general it's very difficult to infer this.

By annotating the stack with the active display item and dumping the display list we can answer the above costs.
Attached image Sample 1
Attached patch patchSplinter Review
Assignee: nobody → bgirard
Status: NEW → ASSIGNED
Attachment #8452568 - Flags: review?(matt.woodrow)
Attachment #8452568 - Flags: review?(matt.woodrow) → review+
https://hg.mozilla.org/mozilla-central/rev/d6d4c517f2f7
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla33
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: