Code Monkey home page Code Monkey logo

mobileperf's Introduction

mobileperf

[US English]

mobileperf is a Python PC tool that can collect Android performance data: cpu,memory,fps,logcat log,traffic,process thread number,process launch log.mobileperf also support monkey test.

Features

  • Support most versions of Android OS from 5.0 to 10.0
  • No need root device,no need integrate SDK
  • Support Mac, linux, windows
  • Good stability, can run continuously for more than 72 hours
  • a little PC resource occupation, consume PC memory about 12M

Getting started

  • Python3,recommend python3.7

  • adb,ensure system path contains adb

  • edit config file in mobileperf root dir,example config.conf

  • run ,in mobileperf root dir,mac or linux execute sh run.sh ,windows double click run.bat,end test wait timeout or click ctrl+C

[简体中文]

mobileperf is python PC 工具,可以收集Android性能数据: cpu 内存 流畅度fps logcat日志 流量 进程线程数 进程启动日志,mobileperf也支持原生monkey test

特性

  • 支持Android5.0-10.0,兼容性好
  • 无需root设备,无需集成SDK,非侵入式,使用成本低
  • 支持mac linux windows
  • 稳定性好,能连续运行72小时以上
  • 少量占用PC资源,消耗PC内存约12M左右

使用方法

  • 安装python3.7 python下载链接,加入到环境变量中,执行python --version,确保是python3

  • 安装adb,确保adb devices能找到设备

  • 修改配置文件,示例参考根目录下config.conf

  • 运行,mac、linux 在mobileperf工具根目录下执行sh run.sh,windows 双击run.bat,结束测试,等待设置测试时长到或按Ctrl+C

mobileperf's People

Contributors

looklukelu avatar alibaba-oss avatar

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.