Open
Bug 1164744
Opened 10 years ago
Updated 2 years ago
Associate layer transaction cost with dom element changes
Categories
(Core :: Graphics, defect)
Core
Graphics
Tracking
()
NEW
People
(Reporter: pchang, Unassigned)
References
Details
(Whiteboard: gfx-noted)
In gecko, the layer transaction happens usually because some dom element/style changes. Developers need to use gecko profiler to record restyle cause to find out why this layer transaction happens. Once we associate the layer transaction cost with the dom element/style changes, we can export this information to WebIDE to let app developers to know the cost of app changes.
Reporter | ||
Updated•10 years ago
|
Assignee: nobody → pchang
Reporter | ||
Comment 1•10 years ago
|
||
Just found there is a nsStyleChangeData[1] which will store the style changed Property on frame tree. I'm checking which elements are stored when style changes happens, comparing to mPendingStyles from RestyleManager. If it is exactly the data I want, I will try to modify this structure and save to a new struct 'render statistic' which could be used to export to gecko profiler, raptor and WebIDE.
[1]https://dxr.mozilla.org/mozilla-central/source/layout/base/nsStyleChangeList.h?from=nsStyleChangeData&case=true#23
Reporter | ||
Comment 2•10 years ago
|
||
During the implementation,we might integrate this association with mozilla telemetry service to provide some histogram. Investigating how did telemetry work.
Updated•10 years ago
|
Whiteboard: gfx-noted
Comment 3•3 years ago
|
||
The bug assignee didn't login in Bugzilla in the last 7 months, so the assignee is being reset.
Assignee: howareyou322 → nobody
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•