Changes

Jump to: navigation, search

Firefox OS/Performance/App Performance Validation

1,020 bytes added, 04:11, 1 April 2014
5. Layer Tree
'''Debugging''':
* Attach with the App Manager and tweak the structure and styles of the page to trigger the desired behavior.
 
'''Creating/Destroying layers''':
Continuously creating and destroying layers can hurt performance. Setting the pref "layers.flash-borders" when layer borders are activated will add a fading animation to layer borders when layers are created. Immediately after a layer is created, it's border is black and then it fades into it's usual color (green for most layers) during a second or two. This can highlight counter-intuitive behaviors, such as elements being already "layerized" seeing their layer being destroyed and recreated after a style change (for example, an animated element that moves around and then fades to transparent currently gets its layer recreated at the start of its opacity transition).
Beware that this triggers full-tilt compositing (The compositor will try to composite continuously at 60fps regardless of whether anything has changed on the screen). So while this can be useful to understand the layerization behavior in some cases, it should not be used while doing performance measurements.
== 6. Checkerboarding ==
Confirm
137
edits

Navigation menu