Changes

Jump to: navigation, search

Firefox OS/Performance/App Performance Validation

5 bytes added, 17:08, 28 February 2014
m
4. Load Time
== 4. Load Time ==
'''Platform Contact''':  Varies, use profilers to narrow down the issue or contact the Performance team.
'''What does it mean''':
 
The duration, in millisecond, required to load the app. This is usually pretty difficult to measure because the definition of "load the app" varies from app to app. Generally though, we're talking about the time between the user launching the app and the '''visible''' UI being fully drawn and responsive. I put an emphasis on the visible UI because many apps require lots of computation and/or I/O to initialize their state enough to draw the full UI for the initial app screen. If every app waited until it was fully initialized before drawing the UI, they would all appear to be very slow and unresponsive.
'''Verification Steps''':
 
The easiest way to verify this is to use the existing profiler: [https://developer.mozilla.org/en-US/docs/Performance/Profiling_with_the_Built-in_Profiler#Profiling_Boot_to_Gecko_%28with_a_real_device%29] Since there are no obvious markers in the profiles of where your app load ends, it will be up to you to either output data to the log or call a dummy function where the loading should be done and then find the function call in the profile. The latter method is tricky because of the asynchronous nature of the callbacks and the rendering code. It all comes down to knowing your app's code well and then spending time to do a careful examination of the profiles in the Cleopatra tool: [http://people.mozilla.org/~bgirard/cleopatra/]
'''Report''':
 
* Capture profiles using the build-in profiler.
* Upload them to Cleopatra and put the Cleopatra url in the bug.
Canmove, confirm
225
edits

Navigation menu