“The original intention of establishing the performance evaluation standard for wechat small games is to guide developers to optimize relevant performance data and improve user experience. Evaluation criteria based on the overall performance data performance of the small game, player experience evaluation, combined with the operating system, model classification, network conditions and other dimensions to establish.”
-“
”
PerfDog is a mobile, full-platform performance testing and analysis tool that allows developers to capture and analyze performance data to improve the performance and quality of mini games and mini programs. Here are detailed instructions on how to use PerfDog to test wechat mini games & mini programs:
1. Log in to the PerfDog official website https://perfdog.qq.com/ and select the desktop application you want to download according to your PC platform
Windows platform: Decompress the download package and double-click to open the Perfdog.exe desktop application.
Mac platform: Run DMG desktop applications directly.
2, mobile phone USB connection to the computer
Need mobile phone to trust computer, mobile phone operation select trust:
If this message appears on the PerfDog client, the mobile phone connection is successful:
If there is a problem with the connection, please follow this post to troubleshoot one by one:
3. Select a mobile device
Select equipment:
Note: To use the WIFI test, the phone and computer must be connected to the same WIFI/ hotspot.
4. Open the wechat game:
Key points: The mini-game only needs to be tested by selecting wechat process in Perfdog software.
Technical description: Wechat small game & small program, iOS and Android technology implementation principle is completely different, Android platform is open independent child process, but iOS platform is not open independent process. Small game & small program is based on H5 development, so will use the browser kernel. Micro channel small game & small program with their own development of the browser kernel, and small game small program is running in the micro channel process, so the micro channel process can be tested.
Advanced test, micro channel small game start loading, will use the system browser kernel Webkit process pull up, so there will be system browser kernel Webkit process. Wechat small program rendering UI is rendered through the webkit process of the system browser. In summary, small games generally do not need to pay attention to the system browser memory WebKit process, small programs need to pay attention to the system browser memory WebKit process. The specific test method is as follows: System Process test method
5. If you want to test the wechat applet, do not open the wechat applet temporarily. Click the application list, pull to the bottom, and click to expand System Process
6, the system proces observe whether there is a com. Apple. Its. The WebContent this option.
L if there is no com. Apple. Its the WebContent this option, then open the need to test in WeChat small programs, to locate and select the com in the system. After apple. Its. WebContent this option.
L if there is a com. Apple. Its. WebContent this option, so remember the Numbers behind him, then need to test the WeChat opened small programs, select is greater than the number of com. Apple. Its. WebContent can be selected. (that is, find the latest com. Apple. Its the WebContent). If more than one WebContent process PID exists than last time, try it one by one.
7. After selecting the correct mini game/mini program, click on the upper right corner to start testing.
PerfDog picture:
8. Indicators to be tested can be selected in the lower right corner:
Interpretation of corresponding indicators:
9. After the test, click “Pause” in the upper right corner to upload data.
Note: If you forget to start recording data, it doesn’t matter, select the required data and right click on the box can also upload data:
After 10, upload can PerfDog view the data on the WEB (https://perfdog.qq.com/mydata/cases) :
Case Details page:
11. Data can also be analyzed by comparison:
Add comparison steps:
Comparison page: