title: How to understand Android SDK profile traceview...?
body: <p>I have some code that uses Jsoup to get and parse some html pages, and then I manipulate the html tree, before passing it to a WebView that draws it. If I bypass my manipulations, the code runs in acceptable times (2-3 seconds) on the Android SDK simulator, but when I do my manipulations the time jumps to unacceptable (~60 seconds to just load a single page!).</p>
  
  <p>Using Eclipse and the Android SDK I had a run profiled, and now I'm trying to interpret the results. from here <a href="http://android-developers.blogspot.com/2010/10/traceview-war-story.html" rel="nofollow">http://android-developers.blogspot.com/2010/10/traceview-war-story.html</a> took the tip to sort profile on the "Exclusive Cpu Time %". To my surprise, my own code did not even list at 1%. The biggest time consumer is android.view.ViewGroup.drawChild() at 11.9%. The first non-android function listed (as sorted by exclusive cpu %) is java.lang.ref.Reference.get() and it lists at 0.4%.</p>
  
  <p>But I guess teh strangest thing is that of my own code, I can only find my AsyncTask's doInBackground() listed; the functions this calls in turn are not even present, even though I can see by the debug output that they are called. Why are those not listed?</p>
  
  <p>I don't understand what to make of any of this. Any hints are very much appreciated.</p>