Firefox OS/Performance/App Performance Validation: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
Line 20: Line 20:
* Common issues: Please add any common issues to this list. Currently empty.
* Common issues: Please add any common issues to this list. Currently empty.


== 2. Reflows ==
== 2. Reflows/Restyles ==
'''Platform Contact''': Layout team
'''Platform Contact''': Layout team


Line 94: Line 94:
* Attach with the App Manager and tweak the structure and styles of the page to trigger the desired behavior.
* Attach with the App Manager and tweak the structure and styles of the page to trigger the desired behavior.


== 6. Styles ==
== 6. Checkerboarding ==
'''Platform Contact''': Layout
 
'''What does it mean''':
 
'''Verification Steps''':
 
== 7. Checkerboarding ==
'''Platform Contact''': Graphics, verify previous steps first
'''Platform Contact''': Graphics, verify previous steps first


Line 115: Line 108:
* Consider first repeating some of the previous steps to rule out over-invalidation, reflows and non responsive event loop.
* Consider first repeating some of the previous steps to rule out over-invalidation, reflows and non responsive event loop.


== 8. Compositor FPS ==
== 7. Compositor FPS ==
'''Platform Contact''': Graphics
'''Platform Contact''': Graphics


Line 133: Line 126:
* Watch the left most FPS counter during idle at various stage of your app.  This number should remain very close to the refresh rate of the display (~60 FPS for most devices). There should be little to no dips below 60 FPS here.
* Watch the left most FPS counter during idle at various stage of your app.  This number should remain very close to the refresh rate of the display (~60 FPS for most devices). There should be little to no dips below 60 FPS here.


== 9. Memory usage ==
== 8. Memory usage ==
'''Platform Contact''': Memshrink
'''Platform Contact''': Memshrink


Line 140: Line 133:
'''Verification Steps''':
'''Verification Steps''':


== 10. Profiling ==
== 9. Profiling ==
'''Platform Contact''': Performance Team & Graphics
'''Platform Contact''': Performance Team & Graphics


Line 156: Line 149:
* Profile the app and the compositor: ./profile.sh start b2g -t Compositor && ./profile.sh start APP_NAME_OR_PID
* Profile the app and the compositor: ./profile.sh start b2g -t Compositor && ./profile.sh start APP_NAME_OR_PID


== 11. Power usage ==
== 10. Power usage ==
'''Platform Contact''': Performance Team
'''Platform Contact''': Performance Team


Confirmed users
336

edits

Navigation menu