Current location - Quotes Website - Signature design - Huawei shot! Android mobile game framework test platform that can replace PerfDog
Huawei shot! Android mobile game framework test platform that can replace PerfDog
In place of "acting dog"! How does Android monitor the frame number of mobile games for free? CFan introduced how to use the free game frame rate test software "SoloPi", but its rough interface still seems unprofessional. The good news is that the DevEco test service platform provided by Huawei for eco-product partners can also test the game frame rate curve, which is closer to PerfDog in experience, and it is free and compatible with most non-Huawei Android phones.

Download and install the client

First of all, you need to log in to Huawei DevEco Test official website Download Client, and ordinary users only need to download the "Equipment Test Client" on the left side of the homepage.

When installing the client on the computer, when selecting the test component interface, "Game Test" is a mandatory option, and other components are optional. Considering the rich and powerful functions of DevEco test, I still suggest that you install all the components for future use.

When running the DevEco test for the first time, you need to log in to Huawei account, and then you need to select the device type. Here you need to choose "rich device testing" to support a variety of smart devices, including mobile phones. After entering the main interface of DevEco test, click "Graphic and Image Test" in the list on the left, and "Game Test" in this window is the goal of this paper.

The mobile phone is connected to the client.

In the game test of DevEco test, there are four items: single device test, double device test, automatic setting and frame playback. Simply select the default single device test.

Click on the system version set by the mobile phone continuously, activate the developer option of the mobile phone, turn on the USB debugging function, and then connect with the computer through the data cable (if it is only charged and there is no response, switch to camera mode), and select Allow in the pop-up window. At this point, the DevEco test can identify the model of the mobile phone in the column of test equipment. When you connect your mobile phone for the first time, you will be prompted to install an APP called SmartPerf on your device, and select "Continue". In the future, the application for installing this app will pop up on the screen of the mobile phone (some system mobile phones need to turn on the function of allowing USB to install applications), and just keep it in the login interface after installation.

The basic process of game testing

In the "Select Application" of the game test interface of Deveco, find the game whose frame number we need to monitor, such as Genshin Impact, and then expand the "View Advanced Configuration" below. Here, Huawei mobile phones can add fixed collection items, and the fixed collection items of other brands are grayed out. Before each game test, it is suggested to lower the volume of the minimum preset condition from the default 100%, otherwise the maximum volume from running the game will disturb the side.

Click the "Start Test" button to enter the detailed monitoring interface, including FPS frame number, CPU frequency/load, GPU frequency/load, temperature, power consumption and other items, but only Huawei mobile phones can see all and accurate data information. Fortunately, the FPS frames most directly related to game performance are compatible with all brands of mobile phones. In the upper right corner of the test interface, click the ""symbol to officially start recording data, click ""to terminate the test, and the software will generate a test report.

After the game has been running for a period of time, the test can be terminated. At this time, the DevEco test will enter the data processing stage, and this interface will display the frame rate curve of the last test cycle. Remember to save the screenshot quickly, because the report interface does not contain the frame rate curve, only the average frame rate and other data, among which the data such as load, power consumption and heating are not accurate.

However, the purpose of using DevEco test is to get the frame rate curve, average frame number and other information of the mobile phone during the game. From this point of view, DevEco test can still replace PerfDog to some extent.

Off-line testing of SmartPerf

So, can DevEco Testing test the frame rate without a PC? The answer is naturally yes. At this time, we need to run SmartPerf APP on the mobile phone. Log in to this APP with Huawei account and grant it all application rights. After entering the main interface, click the "Start Test" button in the middle to enter the interface for selecting test applications and test items.

After saving, enter the game and you will see a red translucent floating button. Click Start Collection, click Pause Collection again, and press and hold to end collection. After collection, a test report will be generated in the SmartPerf application. Click the corresponding item to view the detailed curve.

It should be noted that some brands or models of mobile phones cannot be detected by this method. For example, OPPO Find X5 Pro will get stuck in the process of applying for installing SmartPerf APP in the DevEco test, and the system will prompt that "an application with conflicting signatures has been installed" and cannot enter the next step. In addition, when some mobile phones are running SmartPerf APP, the FPS frame rate test item is not optional, so it is impossible to monitor the frame rate curve during the game without a PC.