Code Monkey home page Code Monkey logo

htmonitor's Introduction

MonitorMethod

本demo是用于监测内存泄漏和UI渲染时间。具体博客详情Runtime黑魔法

使用方法:

pod 'HTMonitor'

监控有下面几种模式

typedef enum {
    HTMonitorTypeAll = 0,
    HTMonitorTypeUILoadTime,  // UI 加载时间
    HTMonitorTypeUILag,  // UI卡顿检测
    HTMonitorTypeMemoryLeak,  //内存泄漏检测
    HTMonitorTypeFPS, // 监控屏幕FPS
} HTMonitorType;

开启监控

#import "HTMonitor.h"
[HTMonitor startMonitorType:HTMonitorTypeAll];

停止监控

#import "HTMonitor.h"
[HTMonitor stopMonitor:HTMonitorTypeAll];

htmonitor's People

Contributors

helloted avatar ppfoem avatar

Stargazers

LinkJin avatar AdamShi avatar ccnyou avatar David.Shi avatar 端木 avatar  avatar  avatar oldbird avatar  avatar fqdeng avatar  avatar  avatar  avatar  avatar  avatar cyj avatar  avatar  avatar 姝燕 avatar  avatar  avatar tangyinbo avatar  avatar  avatar tommy avatar  avatar  avatar 蔡骞毅 avatar  avatar  avatar  avatar  avatar  avatar Nicolas D'Amelio avatar stayrascal avatar andy avatar Klein avatar By字节 avatar  avatar 时刻行者 avatar  avatar Leander avatar  avatar 李超 avatar  avatar  avatar  avatar  avatar  avatar 安爷 avatar  avatar  avatar Vonda Bogan avatar  avatar devops.deploy avatar qbanxiaoli avatar  avatar zhoudong avatar jay avatar Hs avatar  avatar  avatar  avatar  avatar Matias Misiego avatar  avatar Jez avatar  avatar  avatar  avatar hzzhanglijie avatar wutao avatar  avatar Alex-teach avatar  avatar xinghou liu avatar  avatar  avatar  avatar  avatar  avatar  avatar RabbitKeys avatar James Zheng avatar  avatar  avatar  avatar ramesh pamidi avatar  avatar  avatar  avatar 15972205008 avatar  avatar monday avatar 张华博 avatar  avatar  avatar AntonLab avatar king++ avatar  avatar

Watchers

James Cloos avatar  avatar  avatar

Forkers

wyanassert lk26

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.