Giter Club home page Giter Club logo

method_trace_tool's Introduction

分析应用方法耗时的swing工具

采用该项目(https://github.com/zjw-swun/AppMethodOrder) 的思路,基于trace文件分析过滤出当前应用(包名)下的方法信息.

使用方法

  • sdk\platform-tools下的dmtracedump添加到系统环境变量
  • 使用tool文件夹下的Method-trace-analysis.jar 直接导入.trace文件,一键分析

效果图

注意点

  • 建议在jdk 1.8环境下运行,如是1.7及以下的jdk,请自行修改代码兼容
  • 目前该小工具可使用于Windows平台下,Mac及Linux可自行修改代码兼容(目前无Mac设备,无法测试-_-!)

Mac下可通过 java -jar MethodTime-trace-analysis.jar执行

  • 需先将dmtracedump添加至环境变量
  • 方法耗时的单位为μs
  • unknow意味着该方法未结束调用

TODO

  • 可视化方法调用图

method_trace_tool's People

Contributors

harlber avatar

Watchers

 avatar  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.