As an iOS game developer, it's crucial to understand how your game performs on the platform. This blog post will walk you through the process of conducting an in-depth analysis of your game on the iOS platform, focusing on Unreal and Unity engine game development versions.
1. Network Environment: Ensure that your computer and the test device are connected to the same WiFi network. Avoid using company WiFi for more accurate results.
2. PC Environment Settings: Set up your PC environment as per the instructions provided https://perfdog.wetest.net/article_detail?id=153&issue_id=0&plat_id=1.
3. Configuration File: Create a new txt file named "ue4commandline.txt" and add "-tracehost=(local ipv4 address) -trace=cpu, frame -cpuprofilertrace".
To check your ipv4 address, open the command line window and enter ipconfig on Windows or ifconfig on Mac OS. Next, copy the configuration file to your UE application.
a. On Windows: Open iTunes, select your device, choose file sharing, and place the configuration file in the appropriate location.
b. On MacOS: Open Finder, select your iOS device, click on the file tab, and copy the configuration file to the application directory to be tested.
4. PerfDog Testing: Open the PerfDog client, initialize your device, click on the application list, enable the in-depth analysis button, select Unreal mode, and start testing your application.
5. Start Stat: After starting the test, tap the screen with four fingers on your testing device to bring up the console command window. Enter "Stat NamedEvents" to access the engine data.
Firstly, confirm that your test application uses the Unity engine.
Open the PerfDog client, initialize your device, click on the application list, enable the in-depth analysis button, select the corresponding mode, and start testing your application.
By following this guide, you can conduct a thorough analysis of your iOS platform, allowing for efficient game development and optimization. Understanding your platform's performance is key to producing high-quality and efficient games.