Android 性能工程知识库

个人技术知识库,聚焦 Android 系统性能优化,兼顾 Framework 原理、AI 工程化、DevOps 工具链。

目录结构

blog/
├── performance/          # 性能优化(主战场)
│   ├── rendering/        # 渲染、流畅度、卡顿掉帧、Choreographer、Vsync
│   ├── memory/           # 内存拆解、Jemalloc、hprof、GC、Memtrack
│   ├── stability/        # ANR、Crash、hwasan、D状态、稳定性
│   ├── graphics/         # GPU、SurfaceFlinger、动画、硬件加速、黑花闪
│   ├── cpu-sched/        # CPU调度、EEVDF、cgroup、VIP Task、负载量化
│   ├── binder-ipc/       # Binder 机制与 IPC
│   ├── tools/            # Perfetto、Simpleperf、火焰图、adb、日志
│   ├── cases/            # 实战案例(问题分析复盘)
│   └── misc/             # 其他性能相关
│
├── framework/            # Android Framework 原理
│   ├── wms-display/      # WMS、窗口管理、Winscope、锁屏
│   ├── input/            # Input 系统
│   ├── binder-ipc/       # Binder 原理(Framework 视角)
│   ├── ams-activity/     # AMS、Activity 管理
│   ├── systemui/         # SystemUI、状态栏、通知
│   ├── handler-looper/   # Handler/Looper/MessageQueue
│   ├── graphics/         # 图形子系统、Vsync
│   ├── memory/           # 内存管理、shmem
│   ├── concurrency/      # 线程、并发、PIMutex
│   ├── kernel/           # Linux 内核、调度、Doze
│   ├── pms/              # PackageManagerService
│   └── misc/             # 逆向、Kotlin、设计模式、源码阅读工具
│
├── ai-engineering/       # AI 工程化
│   ├── claude-code/      # Claude Code 使用技巧与配置
│   ├── harness/          # Harness Engineering 翻译与研究
│   ├── mcp-tools/        # MCP、GitNexus、自动化工具
│   ├── skills/           # Skill 开发教程
│   └── practice/         # AI 实践案例(从分析到修复)
│
├── devops/               # 开发环境与工具链
│   ├── git/              # Git 命令、Hook、规范
│   ├── gitlab/           # GitLab CI/CD
│   ├── docker/           # Docker 使用
│   ├── ubuntu/           # Ubuntu 环境配置
│   ├── python/           # Python 工具脚本
│   ├── shell/            # Shell 脚本
│   └── misc/             # Markdown、书籍笔记、其他工具
│
├── _private/             # 私人内容(不进知识库索引)
│   └── work/             # 日常工作、绩效、需求评审
├── _archive/             # 归档(空壳、工具附件、旧配置)
└── _references/          # 外部参考文章(待整理)

内容规模

板块文件数核心 md
performance325~150
framework230~80
ai-engineering59~50
devops157~60

使用方式

  • 人工查阅:按目录浏览,每个主要目录有 _index.md 索引
  • AI 检索:配合 GitNexus 索引,Claude Code 可直接搜索和引用
  • 持续积累:按 CONTRIBUTING.md 规范添加新文章和案例

案例板块说明

performance/cases/ai-engineering/practice/持续增长的板块,用于记录实战问题分析。每个案例是一个独立目录,结构见 CONTRIBUTING.md