Giter Site home page Giter Site logo

perf-doctor's Introduction

perf-doctor

A mobile game profiler.

Download prebuit binary

GUI interface

Export perf data

Build from scratch

  • clone https://github.com/taptap/perf-doctor
  • clone Cinder framework, Cinder/ and perf-doctor/ should be put in the same folder.
  • Open Cinder/proj/vc2019/cinder.sln with Visual Studio 2019, choose the same target (x64 Debug) as perf-doctor then build. The output is cinder.lib.
  • Open vc2019/perf-doctor.sln with Visual Studio 2019

Contact

adb commands for gpu profiling

adb shell settings list global | grep gpu

enable_gpu_debug_layers=1
gpu_debug_app=com.xd.atelier
gpu_debug_layer_app=com.google.android.gapid.arm64v8a:com.google.pixel.coral.gpuprofiling.vulkanlayer
gpu_debug_layers=DebugMarker:CPUTiming:VkRenderStagesProducer

Disable settings

adb shell settings delete global enable_gpu_debug_layers
adb shell settings delete global gpu_debug_app
adb shell settings delete global gpu_debug_layers_gles
adb shell settings delete global gpu_debug_layers
adb shell settings delete global gpu_debug_layer_app

adb shell getprop | grep profiler

[debug.graphics.gpu.profiler.perfetto]: [1]
[graphics.gpu.profiler.support]: [true]
[graphics.gpu.profiler.vulkan_layer_apk]: [com.google.pixel.coral.gpuprofiling.vulkanlayer]

perf-doctor's People

Contributors

emon100 avatar vinjn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

perf-doctor's Issues

Moto edge x30 (Android 12)测不到帧率

其他手机测试可以正常记录数据,导出excel也正常。
Moto edge x30 不能在performance板块监测帧率曲线,其他多个测试项目可以正常显示曲线。
导出数据后,excel数据表格没有任何数据。
Android Version: 12
Current software version: MYUI S0SC32

FPS显示不准确

帧率变成50Hz后,抓取的帧率显示会有50Hz到个位数帧率来回横跳的情况,估计与统计方式有关联。

好几个地方没判空,造成崩溃

1、录制的时候不能直接拔数据线,拔了会崩溃
2、显示设备相关信息后,拔掉数据线,再选择相关数据会崩溃,例如:数据线连接方式时,选远程WIFI连接调试就会崩溃
3、没连上数据线,启动相关视图就会崩溃,例如:start FPS

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.