# adb_simple_perf
**Repository Path**: yxdsz/adb_simple_perf
## Basic Information
- **Project Name**: adb_simple_perf
- **Description**: AR安卓简易性能监控实现
- **Primary Language**: Python
- **License**: Apache-2.0
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 3
- **Forks**: 0
- **Created**: 2024-01-03
- **Last Updated**: 2024-10-14
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# adb_simple_perf
#### 介绍
AR安卓简易性能监控实现
为了方便安卓系统下应用监控并快速验证应用程序实现
已验证安卓12场景
#### 软件架构
后端基于adb命令+Tornado+python3实现
前端基于html+css+js和pyecharts实现
#### 安装教程
1. pip3 install tornado
官方文档:https://www.tornadoweb.org/en/stable/
2. pip3 install pyyaml
3. pip3 install loguru
4. pip3 install pyecharts
#### 使用说明
1. 使用有线或无线将设备与电脑连接。
无线开启方法:
adb tcpip 5555
adb connect 设备ip:5555
2. 编辑config/config.yaml 文件,填写需要测试的应用程序包名以及设备编号
3. 运行需要监测的应用程序
4. python3 run.py
5. 默认5秒获取一次数据,可以根据实际情况进行调整
#### 测试效果




#### 参与贡献
1. Fork 本仓库
2. 新建 Feat_xxx 分支
3. 提交代码
4. 新建 Pull Request
#### 特技
1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md
2. Gitee 官方博客 [blog.gitee.com](https://blog.gitee.com)
3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解 Gitee 上的优秀开源项目
4. [GVP](https://gitee.com/gvp) 全称是 Gitee 最有价值开源项目,是综合评定出的优秀开源项目
5. Gitee 官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help)
6. Gitee 封面人物是一档用来展示 Gitee 会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)