May 20, 2021 WeChat Mini Program Development Document
Experience scoring is a feature that rates the experience of a small program, checks it in real time as it runs, analyzes some areas that might cause the experience to be bad, and locates where something is wrong, and gives some optimization recommendations.
1.02.1808300
above versions of the developer tool,
download address.
2.2.0
or above.
1. Open the developer tool and switch the base library to
2.2.0
in the details.
2. Switch to the Audits panel in the
Audits
area.
3. Click on the "Start" button, and then operate the small program interface yourself, and the run page will be detected by the "Experience Score".
4. Click "Stop" to end the detection and display the corresponding detection report on the current panel, which allows the developer to optimize the functionality according to the recommendations in the report.
5. To run the experience score again, click Empty Experience Score above the report to restore the initial state. Please note that there is currently no report storage service available and once the experience score is emptied, you will no longer be able to view the results of this rating.
To make it easier for developers to spot experience issues with small programs in a timely manner, the "Auto-Run" feature that supports experience scoring starts with developer tool
1.02.1811150
This feature is in real time when developing a debug applet, once the experience score is low
70
Time, the system will
console
Panel print one
warning
Information prompt developers, at this time, the developer can cut
Audits
Panel View details.
Developers check the Auto Run Experience Rate option in the local settings of the tool's upper right corner of the tool.
Specific scoring rules and details of the rule description can be referred to the following documents: