H5 performance testing, the first time statistics screen (Argus)

Argus Tencent quality development platform, the official website link: https://wetest.qq.com/product/argus

The main targeted: H5 game performance test

 

Mainly introducing:

Exclusive first screen time statistics:

  • Artificial pinch farewell seconds
  • Automatic statistics fold load time-consuming
  • Jump to refine each page

Patent FPS algorithm:

  • FPS patented algorithm is more statistical H5 game frame rate information scientifically
  • A true reflection of the game fluency measure

Basic performance data:

  • Provide FPS, CPU, PSS, flow and other performance indicators
  • Once to get basic data

Convenient self-test:

  • Test phone without having to ROOT
  • System-wide support for Android
  • Self-test, the scene is not restricted

 

Support device type

1, Argus performance testing tool for the PC program can be run on 32-bit / 64-bit win7, win10 machine.
2, support for Android devices (no need to root), H5 game performance test, specific types see below.

 

Use Introduction

First, connect the phone

1) using a USB data cable to connect your phone and PC test
Android Developer Mode 2) open the phone, and allows USB debugging.
3) To carry out micro-channel version of the game experience first screen test, check the phone settings, whether there is USB Analog click Options, and check for the permit.

      

 

In the mobile phone connection interface Argus PC tool, click the "Connect" button.

  • If the connection is unsuccessful, check the number of connected devices and mobile phone driver is installed successfully. Easy way, you can use applications such as mobile phones treasure management tool, check that your phone can be connected and install the driver.

Second, select the type of

1) Place the test application to the foreground
2) according to the actual needs, select the corresponding type of test from the drop-down box, Reference Document: Support Type Description.
3) H5 Link, TBS Webview type, we need to open the X5 kernel (TBS kernel) debug mode. After clicking the "OK" button, the tool will check debugging mode switch is turned on by the current process, if it is otherwise self-help pop open the debug mode switch. Reference document: Open debug mode instructions.
4) Note:
before (1) H5 type Link, click OK, follow the instructions to open a web page or an ordinary game. (Note that ordinary web pages, not for the X5 kernel debugging page.)

    

 

 

Third, the first screen test

1) If the first screen test for the first time, make sure that the game has been completely removed.
2) determine the game is not on, nor is it to switch the background.
3) If the test is H5 Link type before selecting the type of test interface, click OK, and follow the instructions to open a normal web page. The purpose is to advance the page to open the process (such H5 type Link, also equivalent page on nature), to establish a remote connection in advance, continuous access to the contents of page changes by debugging protocol.
4) The first screen to start mark.
    a. For X5 running kernel (TBS Tencent browser kernel) of the game, open the debug mode. Click the "first screen to start" button, then open the game.
    b. For small micro-channel official version of the game, cm light show, games, etc., when the user needs to open the game, but click on the "first screen Start" button.
    c. For small micro-channel version of the game experience, will go to stay in the mobile phone interface experience page. Click the "first screen to start" button, the tool via adb command, click the analog phone interface "go to trial version" button. Please allow "USB Analog click" in developer mode.

       

 

5) marks the end of the first screen.
     When the confirmation arrives first game interface screen, click on the "first to reach the screen" button H5Arugs tool. The tool can not determine the game's first screen interface, you need to manually click on "reaching the first screen" button. 

     

 

 

Fourth, the performance test

1)点击“开始测试”按钮,确认进程信息后,开启性能测试。
在工具的选择测试类型界面,可刷新手机当前界面的应用和进程信息。
也可利用此条命令查看当前手机界面的进程:“adb shell dumpsys activity| findstr top-activity”。
2)测试过程中,曲线图只显示10个实时数据点。
3)测试过程中,可进行场景标记,工具会对场景标记类的指标进行统计计算。
4)点击“结束测试”按钮,结束本次测试,曲线图会将所有的数据重新绘制。每条性能曲线都支持放大和缩小,按住shift键可拖动坐标轴左右移动。
5)测试结束后,点击“生成测试报告”,再确认游戏名后,将报告上传到wetest平台,可在线查看。
6)点击“重新测试”按钮,会清空本次测试数据,开启新一轮的测试,本次测试数据不会上传。

     

 

      

 

Guess you like

Origin www.cnblogs.com/syw20170419/p/11608363.html