paint-brush
Recording Stack Trace Methods and Their Analysis With Profilerby@leonidivankin
465 reads
465 reads

Recording Stack Trace Methods and Their Analysis With Profiler

by Leonid Ivankin6mSeptember 26th, 2022
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

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
Leonid Ivankin

Leonid Ivankin

@leonidivankin

I'm an android developer

Learn More
LEARN MORE ABOUT @LEONIDIVANKIN'S
EXPERTISE AND PLACE ON THE INTERNET.
0-item
1-item

STORY’S CREDIBILITY

Code License

Code License

The code in this story is for educational purposes. The readers are solely responsible for whatever they build with it.

Original Reporting

Original Reporting

This story contains new, firsthand information uncovered by the writer.

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

About Author

Leonid Ivankin HackerNoon profile picture
Leonid Ivankin@leonidivankin
I'm an android developer

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite