Android 性能测试

Android 性能测试

1.内存测试

测试工具:Memory Profiler (Android Studio)
将测试机打开开发者模式,将项目运行到测试机中,
Open AndroidStudio-> menu bar View -->Tool Window -->Profile
–> click ‘+’–>add phone–> add nedd package name–>Meory View

2.CPU测试

测试工具:CPU Profiler (Android Studio)
将测试机打开开发者模式,将项目运行到测试机中,
Open AndroidStudio-> menu bar View -->Tool Window -->Profile
–> click ‘+’–>add phone–> add nedd package name–>CPU View

3.网络测试

测试工具: Network Profiler(Android Studio)
将测试机打开开发者模式,将项目运行到测试机中,
Open AndroidStudio-> menu bar View -->Tool Window -->Profile
–> click ‘+’–>add phone–> add nedd package name–>CPU View

4.电量测试

测试工具: Energy Profilerr(Android Studio)
将测试机打开开发者模式,将项目运行到测试机中,
Open AndroidStudio-> menu bar View -->Tool Window -->Profile
–> click ‘+’–>add phone–> add nedd package name–>Energy View

5.页面滑动,切换速度

网易测试工具:Emmagee
腾讯测试工具:GT

6.访问接口的网络速度

网易测试工具:Emmagee
腾讯测试工具:GT

7.App启动时间

测试工具: adb命令
将测试机打开开发者模式,将项目运行到测试机中,
adb shell am start -W App的paclagename/.MainActivity

8.GPU渲染

测试工具: Debug GPU overdraw
将测试机打开开发者模式,将项目运行到测试机中,
open developer option–>select debug GPU overdraw–>select -->overdraw area
**description
GPU description:

  1. No color: no over-drawing, that is, one pixel is drawn once, showing the original color of the application
  2. Blue: 1x overdraw, that is, one pixel is drawn twice
  3. Green: 2 times over draw, that is, one pixel is drawn 3 times
  4. Pink: 3 times over draw, that is, a pixel is drawn 4 times
  5. Crimson: 4 times over draw and above, that is, a pixel has been drawn 5 times and above

9.包分析

测试工具: APK Analyzer
将测试机打开开发者模式,将项目运行到测试机中,
finish build apk–>click Android studio menu bar—> build—> Analyze apk, then select apk

  • 0
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值