Coder Social home page Coder Social logo

iosperformancetestdemo's Introduction

iOSPerformanceTestDemo

这个Demo主要用于做ios性能自动化,配合xcode10可以获取手机上安已安装任一app的性能。

基础要求

  • JDK > 1.8
  • Xcode版本 > 10
  • appium版本大于 > 1.8
  • node
  • Maven
  • ios-deploy
  • ideviceinstaller
  • libimobiledevice
  • Xcode Command Line Tools

App元素定位

前提:xcode10以及新版本WDA支持操作Relesae App

首先需要获取对应产品的bundleId,需要强大的工具 ideviceinstaller。通过ideviceinstaller -l查看所有app的bundleId。 通过appum-inspector或者通过启动WDA然后访问http://localhost:8100/inspector查看。

性能数据记录

主要通过instrument抓取当前被测试app的性能,非Debug版本app中ALLOCATIONS、LEAKS等不会记录具体的内容。所有性能数据均 保存在当前项目的根目录中,已case的名称开头。

appium设置及使用方式见我的简书Appium-ios真机

iosperformancetestdemo's People

Contributors

william-hl1991 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

supler

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.