Image for post
Image for post

Did you know that android now runs on over 2.5 billion devices across the world? With the emergence of budget smartphones and affordable internet connectivity, people are using more apps and consuming more mobile services than ever before.

Today, the challenge in mobile app development is not about reach but good user experience. And Good User Experience is not just about good design, it is about how the app actually works on hundreds of thousands of devices across the world.

Look at the reviews of some of the most popular apps on the play store and you will find that the best of them fail to perform properly on most devices. In the real world, good and bad user experience is just a low-end-device away and that is what differentiates the really good apps from the rest. …


We took one of the open-source weather app to analyze the performance. This particular app contains all the metrics related to startup time, method trace, and API monitoring.

Start-up time:

Implementation: Ideally, to calculate cold start we must track the starting point from the time when the app intent is launched. But since we cannot track from the process creation stage from a developer’s point of view, we start tracking as soon as the content provider from the manifest is initialized. This becomes the earliest point of detection for an app start.

Syntax: You do not need to add any code from the SDK since this is monitored from the background. …


App performance is a silent killer — we are always conscious about it but we start to act when it hits hard on the business & user experience.

Here are some reviews of Paytm latest version:

Image for post
Image for post


Image for post
Image for post

We have focused more on improvements of some hidden components of the product but below are some visible changes that you would see with the product.

Co-relation:

Previously we had the metrics stacked below each other which was helping them to understand the timeline between the places where some parameters have spiked. We made the below changes to the co-relation to make it even more evident and easy for developers to co-relate contextually.

Image for post
Image for post
Perfachhi — Co-relation

Start-up time:

This is the most important piece of any app. Many companies are trying to reduce the app launch times by removing unwanted API calls and potential leaks.

Image for post
Image for post
App-launch time metrics

Cold start: Cold start is when the app is killed by the system / OS and the app needs to initialize the process once again to get everything started. This is usually when you restart the phone & launch an app. This also means it initializes from the “Splash screen” & re-initiates the object once again to get the app back on track. Since we won’t be restarting the phone often, you could force stop the app & launch to capture cold start data. …

About

Perfachhi

A pre-prod performance monitoring tool for Android developers. We will talk more about app performance and how can you optimize the app performance. Follow us!

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store