Recording Stack Trace Methods and Their Analysis With Profilerby@leonidivankin
439 reads

Recording Stack Trace Methods and Their Analysis With Profiler

tldt arrow
Read on Terminal Reader
Read this story w/o Javascript

Too Long; Didn't Read

The Profiler is one of the most powerful tools in Android Studio. It allows you to look inside a running application to detect problems. It is integrated into Android Studio and can be easily easily accessed by clicking a button 50 times. The last method will stop the thread for 2000 ms. The point of this example is to clearly see how Profiler works, specifically the stack of methods it calls, how long they take and what effect they have on the processor. After launching, you may see a pretty deep (50 pieces) and pretty wide (2000ms) stack.

Companies Mentioned

Mention Thumbnail
Mention Thumbnail
featured image - Recording Stack Trace Methods and Their Analysis With Profiler
Leonid Ivankin HackerNoon profile picture

@leonidivankin

Leonid Ivankin

I'm an android developer


Receive Stories from @leonidivankin


Credibility

react to story with heart

RELATED STORIES

L O A D I N G
. . . comments & more!