Profiling and how to optimise your app startup and kill ANRs

Very often when building an app, you get taken away in the code architecture, building different components, and getting stuff done. You want features out, and very often you don’t have time to optimise stuff. Sadly, this is the way software development has gone in recent years, especially during the IT layoffs in the recent couple of years.

One thing that always gets missed and usually gets resolved is that your app just becomes slow. ANRs or Application Not Responding is an often thing that happens with mobile apps and people learn about it only when people actually start complaining from it. “Hey, we see a dialog that says Close app” is the most common thing you will hear from users. And this is when you realized they have already opened Pandora’s box for you.

I hope with this post to make you aware of how to identify such potential issues and try to fix them before they occur. Let’s go.

Continue reading “Profiling and how to optimise your app startup and kill ANRs”