MCPcopy Index your code
hub / github.com/Kyson/AndroidGodEye

github.com/Kyson/AndroidGodEye @3.4.3

Chat with this repo
repository ↗ · DeepWiki ↗ · release 3.4.3 ↗ · + Follow
1,867 symbols 5,432 edges 328 files 185 documented · 10%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

AndroidGodEye

English README.md    中文 README_zh.md

Android开发者在性能检测方面的工具一直比较匮乏,仅有的一些工具,比如Android Device Monitor,使用起来也有些繁琐,对开发者能力有一定的要求。而线上的App监控更无从谈起。所以需要有一个系统能够提供Debug和Release阶段全方位的监控,更深入地了解对App运行时的状态。

概览

android_godeye_connect

AndroidGodEye是一个可以在PC浏览器中实时监控Android性能数据指标的工具,你可以通过wifi/usb连接手机和pc,通过pc浏览器实时监控手机性能。

你也可以将它在生产环境用于监控App的线上性能(生产环境使用AndroidGodEye)。

目前AndroidGodEye已经应用在若干成熟的App上

系统分为三部分:

  1. Core 核心部分,提供所有模块
  2. Debug Monitor部分,提供Debug阶段开发者面板
  3. Toolbox 快速接入工具集,给开发者提供各种便捷接入的工具

支持功能

模块名称 描述
CPU 手机和App Cpu检测
BATTERY 电池检测
FPS 帧率检测
LEAK_CANARY 基于LeakCanary和shark的内存泄漏检测
HEAP 运行堆内存占用检测
PSS 实际物理共享内存占用检测
RAM 手机内存
NETWORK 网络请求检测
SM 卡顿检测
STARTUP 启动检测
TRAFFIC 手机和App流量检测
CRASH Java、Native崩溃/ANR
THREAD App线程和堆栈Dump
PAGELOAD 页面加载生命周期监控和方法耗时
METHOD_CANARY 方法耗时检测
APP_SIZE App大小,包括apk、存储和缓存大小占用
VIEW_CANARY 视图层级、过度绘制检测
IMAGE_CANARY 图片不合理内存占用检测

开始使用

快速开始Wiki

Changelog

更多信息Wiki

Sample APK

Demo Project and APK

许可协议

AndroidGodEye使用 Apache2.0 许可协议。

贡献者

关于我

Extension points exported contracts — how you extend this code

Install (Interface)
Created by kysonchao on 2017/11/24. [19 implementers]
android-godeye/src/main/java/cn/hikyson/godeye/core/internal/Install.java
WebSocketProcessor (Interface)
(no doc) [12 implementers]
android-godeye-monitor/src/main/java/cn/hikyson/godeye/monitor/server/WebSocketProcessor.java
OnInstallModuleChangeListener (Interface)
(no doc) [3 implementers]
android-godeye-sample/src/main/java/cn/hikyson/godeye/sample/InstallFragment.java
Engine (Interface)
引擎,自主生产数据 Created by kysonchao on 2017/11/23. [17 implementers]
android-godeye/src/main/java/cn/hikyson/godeye/core/internal/Engine.java
Messager (Interface)
(no doc) [3 implementers]
android-godeye-monitor/src/main/java/cn/hikyson/godeye/monitor/server/Messager.java
OnFragmentInteractionListener (Interface)
This interface must be implemented by activities that contain this fragment to allow an interaction in this fragment to
android-godeye-sample/src/main/java/cn/hikyson/godeye/sample/fragmentlifecycle/BlankFragment1.java
ThreadFilter (Interface)
Created by kysonchao on 2018/1/15. [5 implementers]
android-godeye/src/main/java/cn/hikyson/godeye/core/internal/modules/thread/ThreadFilter.java
MonitorServerCallback (Interface)
server的消息回调 [1 implementers]
android-godeye-monitor/src/main/java/cn/hikyson/godeye/monitor/server/GodEyeMonitorServer.java

Core symbols most depended-on inside this repo

instance
called by 319
android-godeye/src/main/java/cn/hikyson/godeye/core/GodEye.java
get
called by 129
android-godeye-sample/src/main/java/cn/hikyson/godeye/sample/StartupTracer.java
d
called by 121
android-godeye/src/main/java/cn/hikyson/godeye/core/utils/L.java
produce
called by 95
android-godeye/src/main/java/cn/hikyson/godeye/core/internal/Producer.java
toJson
called by 86
android-godeye/src/main/java/cn/hikyson/godeye/core/utils/JsonUtil.java
install
called by 69
android-godeye/src/main/java/cn/hikyson/godeye/core/internal/Install.java
hashCode
called by 69
android-godeye/src/main/java/cn/hikyson/godeye/core/internal/modules/pageload/PageInfo.java
uninstall
called by 60
android-godeye/src/main/java/cn/hikyson/godeye/core/internal/Install.java

Shape

Method 1,419
Class 332
Function 77
Interface 35
Enum 4

Languages

Java89%
TypeScript11%
Python1%

Modules by API surface

android-godeye/src/main/java/cn/hikyson/godeye/core/GodEyeConfig.java67 symbols
android-godeye/src/main/java/cn/hikyson/godeye/core/internal/notification/DefaultNotificationConfig.java42 symbols
android-godeye/src/main/java/cn/hikyson/godeye/core/internal/notification/NotificationConfig.java37 symbols
android-godeye/src/test/java/cn/hikyson/godeye/core/GodEyeHelperTest.java24 symbols
android-godeye/src/main/java/cn/hikyson/godeye/core/internal/modules/viewcanary/ViewCanaryInternal.java22 symbols
android-godeye/src/main/java/cn/hikyson/godeye/core/internal/modules/pageload/ActivityLifecycleCallbacks.java22 symbols
android-godeye-toolboxes/android-godeye-okhttp/src/main/java/cn/hikyson/android/godeye/okhttp/OkNetworkEventListener.java20 symbols
android-godeye/src/main/java/cn/hikyson/godeye/core/internal/modules/sm/Sm.java15 symbols
android-godeye-sample/src/main/java/cn/hikyson/godeye/sample/ToolsFragment.java15 symbols
android-godeye-monitor-dashboard/src/methodcanary/methodcanary_thread_tree.js14 symbols
android-godeye-monitor-dashboard/src/block/block.js14 symbols
android-godeye/src/main/java/cn/hikyson/godeye/core/utils/ViewUtil.java13 symbols

For agents

$ claude mcp add AndroidGodEye \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact