Android App Performance Metrics

Android App Performance Metrics

This article is completely about the metrics that you should measure continuously while android application development.

#1. Frames Per Second

This metric is very important as it tells, how your android application is being experienced by the end user. So tracking this metric and improving will lead to a better user experience. If the FPS is coming below 60, the end user will see your application lagging.

How do you measure this metric?

  1. On your mobile device, go to Settings > Developer Options.
  2. In the Monitoring section, select Profile GPU Rendering.
  3. In the Profile GPU Rendering popup, choose On screen as bars to overlay the graphs on the screen of your mobile device.
  4. Go to the app that you want to profile.

I highly recommend checking the below video.

Android Performance Patterns: Tool — Profile GPU Rendering

#2. CPU

This metric is important as it will tell you how much CPU is being used by your application. More the CPU consumption, more the battery consumption. So, you must track and improve this metric.

The real-time CPU usage can be directly seen in the monitor tab of the Android Studio.

Android App Performance Metrics

#3. Memory

The metric tells you about how much memory is being used by your application while running. If your application is taking more memory, then it can easily go out of memory error. So, you should track and reduce memory usage as much as possible. This metric can also be tracked from the Android Studio’s monitors tab. Soon I will write an article on how to reduce memory usage.

#4. Network Traffic

Network Traffic metric tells you about the network request being made from your apps. So, monitor all the traffic generated by your app, make sure to remove all unnecessary requests and stop draining your user’s data. The transmit and receive of data can be tracked from the Android Studio’s monitors tab.

Android App Performance Metrics

There are many ways to measure this metric like by adding the NetworkInterceptor in the OkHttpClient (How to add?).

#5. Disk

This metric is also very important as using more space on disk leads to the uninstall. So, reducing disk memory consumption leads to the higher user retention time. So start tracking and keep reducing the disk memory usage.

When you have a moment, check out our awesome android project on MVP Architecture: Fork, clone, build and learn MVP.

Happy Coding :)

Also, Let’s become friends on Twitter, Linkedin, Github, and Facebook.