May 18, 2021 WeChat Mini Program Development Document
Starting with WeChat Andoid 6.5.10, we offer trace export tools that developers can use in the developer tool Trace Panel.
You can use the adb devices command to determine if the device is connected to your PC
Starting with WeChat 6.5.8, we provide a performance panel that lets developers understand the performance of small programs. Developers can open the performance panel under the development version of the small program, open the method: go to the development version of the small program, go to the upper right corner more buttons, click "Show performance window."
index | illustrate |
---|---|
CPU | The CPU usage of the small program process, only Android is available |
RAM | Memory occupation of the small program process, only Android is available |
Start time | The small program starts the total time consumption |
Downloads take time | Small package downloads are time-consuming and are downloaded the first time they are opened or when the resource pack needs to be updated |
Page switching takes time | The time it takes to switch between small program pages |
Frame rate/FPS | |
The first rendering takes time | The time it takes for the page to render for the first time |
Rendering again takes time | Time-consuming for the page to render again (usually triggered by the developer's setData action) |
The data cache | The size of the cache stored by the program through the Storage interface |