Android App Performance Metrics

in #android7 years ago

Android App Performance Metrics

Android App Performance Metrics.png

This article is totally about the metrics that you must measure continuously whilst android software development.

#1. Frames Per Second

This metric is very necessary as it tells, how your android software is being experienced by using the stop user. So tracking this metric and enhancing will lead to a better person experience. If the FPS is coming under 60, the cease user will see your application lagging.

How do you measure this metric?

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

Android Performance Patterns: Tool — Profile GPU Rendering

#2. CPU

This metric is essential as it will inform you how a lot CPU is being used by way of your application. More the CPU consumption, extra the battery consumption. So, you should music and improve this metric.

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

Android App Performance Metrics CPU Usage Studio.png

#3. Memory

The metric tells you about how a great deal reminiscence is being used through your application whilst running. If your software is taking extra memory, then it can without problems go out of memory error. So, you ought to track and reduce memory usage as a whole lot as possible. This metric can additionally be tracked from the Android Studio’s monitors tab. Soon I will write an article on how to decrease memory usage.

#4. Network Traffic

Network Traffic metric tells you about the community request being made from your apps. So, screen all the visitors generated by using your app, make positive to eliminate all needless requests and quit draining your user’s data. The transmit and acquire of facts can be tracked from the Android Studio’s monitors tab.

Network Traffic.png

There are many methods to measure this metric like by adding the NetworkInterceptor in the Ok HttpClient

#5. Disk

This metric is also very necessary as the use of greater house on disk leads to the uninstall. So, decreasing disk memory consumption leads to the greater consumer retention time. So start monitoring and keep lowering the disk reminiscence utilization

Sort:  

Beautiful info thanks for sharing <3

Coin Marketplace

STEEM 0.25
TRX 0.20
JST 0.038
BTC 95001.94
ETH 3542.06
USDT 1.00
SBD 3.79