I managed to get the Profile add-on [1] installed into a desktop Firefox [2] 
and pulled some startup profiles from Fennec. You can peruse the profiles and 
look for issues by just clicking on the links: 

Nexus S: 
http://people.mozilla.org/~bgirard/cleopatra/#report=6738b62c4bebfa6531b3f9b59eeaa49085608328
 

Galaxy Nexus: 
http://people.mozilla.org/~bgirard/cleopatra/#report=99ab52d04dd427ee0bac1dad5be9a921eaf4e703
 

For those following along at home, I used the following command line to launch 
Fennec: 
adb shell am start -W -n org.mozilla.fennec_mfinkle/.App -a 
android.activity.MAIN --es env0 MOZ_PROFILER_STARTUP=1 --es env1 
MOZ_PROFILER_ENTRIES=8000000 

Then I connected the profiler. As soon as the libraries were downloaded, I 
pressed "Analyze", which created a profile from the collected data. 

Note: Since the profile attempts to connect to Fennec using the remote 
debugger, rememebr to enable the remote debugger in Fennec's settings. Also, 
you'll get an "Allow Connection" prompt in Fennec. To avoid this, set " 
devtools.debugger.prompt-connection " to false. 


[1] 
https://developer.mozilla.org/en-US/docs/Performance/Profiling_with_the_Built-in_Profiler#Profiling_Firefox_mobile
 
[2] I could only get the add-on to work in a release build of Firefox. I think 
the add-on won't work in the new Australis UI 

_______________________________________________
mobile-firefox-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/mobile-firefox-dev

Reply via email to