Profiling the Java Code
mfinkle at mozilla.com
Tue Jan 21 07:34:44 PST 2014
Not sure how that link got borked, but here is where the profiles live:
----- Original Message -----
> Now that some improvements have been landing, I ran some newer profiles 
> for startup and pageload. Feel free to download them and load them into
> Montior/DDMS to look for new problem areas. I'll keep appending the date to
> the profile names so we can keep track over time.
>  http://people.mozilla.org/~mfinkle/fennec/profiles
> ----- Original Message -----
> > For many of the pageload performance bugs , we used profiles of the Java
> > code to uncover the issues. This is just a quick post covering what you
> > need
> > to do in order to get profiles.
> > 1. The Fennec build needs to be "debuggable" . Nightlies are not, but
> > local developer builds are.
> > 2. For profiling pageload, you can generally use Monitor/DDMS . Just
> > press
> > the "start method tracing" button, load a page, wait, press the "stop
> > method
> > tracing" button.
> > 3. For profiling startup time, you really need to add
> > Debug.startMethodTracing(...) and Debug.stopMethodTracing(). I added a
> > simple patch  to show what I mean.
> > I created some example profiles for startup and pageload. You can download
> > them  and open them in Monitor/DDMS using the "File | Open File..."
> > menu.
> >  https://bugzilla.mozilla.org/show_bug.cgi?id=947390
> > 
> > http://developer.android.com/guide/topics/manifest/application-element.html#debug
> >  http://developer.android.com/tools/debugging/debugging-tracing.html
> > 
> > http://people.mozilla.org/~mfinkle/fennec/profiles/startup-tracing.patch
> >  http://people.mozilla.org/~mfinkle/fennec/profiles
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the mobile-firefox-dev