Audio and video class application startup time evaluation report

Disclaimer: This article is a blogger original article, shall not be reproduced without the bloggers allowed. https://blog.csdn.net/xue_yanan/article/details/88100778

Under normal circumstances, application startup time of less than one second, the system responds quickly to user feedback; startup completion within 1-3 seconds, the user can still be considered reaction rate; 3-5 seconds to complete the startup, the user will think that the system response is very slow, but it is also acceptable; if the start time of more than five seconds, the system most users will think bad reaction, or even uninstall the application.

Andrews Green Alliance standard application experience, application of cold start time should not exceed 1000 ms, hot start time should not exceed 500 ms, if not met, the application can not obtain green certification.

As can be seen from the above evaluation results, eight applications to participate in the evaluation of cold and warm start times are very fast, also in line with Andrews Green Alliance standard for green application startup time. Where QQ music and mango TV's most outstanding cold start time, were only 283 milliseconds and 596 milliseconds.

Optimization Tips:

1. Application tripartite reduce excessive SDK initializing operation, the initialization operation performed when functions are really used.

2. Reduce the nesting level and the first interface layout files, to reduce the time measured and plotted interface.

3. The first interface reduces onCreate () method of complex logic and workload, thereby reducing start-up time.

Guess you like

Origin blog.csdn.net/xue_yanan/article/details/88100778