Android performance monitoring Tool that helped me a great favor

Source: Internet
Author: User

The recent Android app is online and has been promoted for two days with hundreds of users, and it's normal to see the app running in the log . But the customer's complaint phone is still constantly, said: "The application is too slow, the experience is not good", the head put all the pressure to us these programmers, asked us to solve the time limit.

We are also very confused, before the APP was released, various unit tests, performance tests, functional tests were OK, and there was still a problem. And the user reflects the problem, we simply can not locate, can't find the problem to solve.

so there is an urgent need for a tool that can monitor the Android app 's tools, real-time tracking of each user's real experience, then the user's network, device situation, it is best to locate the performance of the code.

at a technical conference, the concept of "application performance management" was discovered, and a tool was found to meet our needs, and they provided flexible The Saas service is currently free for trial.

After the user complaints are not afraid

1, the system on-line, real-time view of the overall app operation.

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/46/88/wKiom1Py0YmTmh1HAABaicO-uqI333.jpg "title=" 1.JPG " alt= "Wkiom1py0ymtmh1haabaico-uqi333.jpg"/>


2, The user complained that the app is running slowly, the page is not loaded on half a day. from application → interaction →traces, extracting slow-running transactions to analyze problems, locating faults, and improving performance.

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/46/89/wKioL1Py0ruwrM0gAAB1vT5oW7Q342.jpg "title=" 2.JPG " alt= "Wkiol1py0ruwrm0gaab1vt5ow7q342.jpg"/>


3, It is found that one of the welcomeactivity executions consumes 63,254msand takes too long to seriously affect the user experience. The next step is to analyze the problem, from the pointof view, Welcomeactivity is composed of three parts, two external network requests and an Activity transaction, from the sequence diagram, see,welcomeactivity Transactions can be time-consuming and negligible.

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/46/88/wKiom1Py0bmQJLPoAABd5sUPYAQ581.jpg "title=" 3.JPG " alt= "Wkiom1py0bmqjlpoaabd5supyaq581.jpg"/>

4. Navigate to the problem

The second external call takes up the total execution time of the 93%, the problem is anchored to the second external call, and immediately begins to improve, problem solving, see.

ONEAPM help us to solve a problem that has plagued us for a long time, in fact, she has other interesting features, such as busy to have a moment, follow-up summary, share to everyone.

Hopefully this tool can also help Android developers and operations staff to solve problems in their work.


This article is from the "OpenGL" blog, so be sure to keep this source http://geliang.blog.51cto.com/1182196/1541990

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.