Activity transition is slow, but method profiling does not show anything abnormal

37 views Asked by At

I have an activity where entering it is time-costly (around 1 second).

I tried using DDMS to track what was happening during activity transition.
I started the track, press the button where it starts the new activity, and then stop the tracking.
However, I cannot find any suspicious method in method profiling.

trace view

So... to conclude, I may lay out my question this way:

  1. Did I use traceview correctly? I always sort by Excl Cpu time to see if any method is taking up the most time. However, in the trace above, the slowest method takes less than 83ms.

  2. If you have similar experience (i.e. Activity transition is slow, but you cannot find anything in traceview), how do you end up solving it?

0

There are 0 answers