Android Performance

Android Weekly Issue 2025-06

Word count: 840Reading time: 5 min
2025/02/09
loading

Android Weekly is a weekly newsletter focused on the Android technical ecosystem, updated every Monday. This newsletter delves into high-quality technical content in areas such as Android system architecture, performance optimization, cross-platform development, and AI, providing continuous knowledge updates and technical insights for developers.

Subscription Channels: [WeChat Official Account] | [Zhihu] | [Juejin] | [Zhubai] | [Personal Blog RSS]

Technical Articles

  1. Detailed Explanation of DiffUtils, Myers’ Algorithm, and Jetpack Compose: This article explores how DiffUtils uses Myers’ algorithm to calculate minimal list changes in Android. It compares this with Jetpack Compose, which uses state-driven UI recomposition and smart-skipping, rendering traditional DiffUtils unnecessary while achieving similar optimizations via Keys in LazyColumn.

  2. Analyzing Android Rendering Mechanism with Source Code and Perfetto: A deep dive into the Android rendering pipeline, covering key components, Vsync processing, and the application of Perfetto for performance analysis.

  3. Improving Rendering Fluency with GPU Hardware Acceleration: Analyzing how hardware acceleration enhances animation and complex rendering fluency, specifically exploring RenderThread and its implementation details via Perfetto.

  4. Meet the Android Studio Team: A Conversation with Jamal Eason: Jamal Eason, Director of Product Management, shares his journey at Android Studio, focusing on product quality, AI integration (Gemini), and cross-team collaboration for App Quality Insights.

  5. Android Weekly Issue #661.

  6. Android Bytecode Processing - Instrumentation with AsmClassVisitorFactory: Using ASM to modify Java class behavior during the build process, covering insertion, deletion, and modification of fields and methods.

  7. Thoroughly Understanding Android Event Distribution Mechanism: A clear guide to how touch events flow from the system to Views and ViewGroups, including event origins, method responsibilities, and common interview questions.

  8. Frida for JNI Method Address Tracking, Disassembly, and Patching: Using Frida’s disassembly API and RegisterNatives hooks to analyze and modify JNI method behavior at runtime.

  9. Android ANR Series Part 1: Understanding ANR Design Principles: Analyzing the system-level design intentions behind Android’s Application Not Responding (ANR) mechanism.

  10. Android Perfetto Series Part 4: Opening Large Traces Locally via Command Line: How to use trace_processor_shell to open trace files exceeding 2GB locally, bypassing browser memory limitations.

  11. Analysis of Compose and Native UI Mixing Principles: Explaining how Compose blends with native UI on Android (via AndroidView) and iOS (via “hole-punching” and InteropContainer), alongside their respective limitations.

  12. HarmonyOS Kernel Paper Reading: Technical notes on the OSDI24 paper “Microkernel Goes General: Performance and Compatibility in the HongMeng Production Microkernel.”

  13. Android Gradle Learning (Part 8) - Task Analysis: Breaking down the tasks involved in ./gradlew assembleDebug, including AIDL compilation and packaging.

  14. Exposing Concurrency Bugs with Custom Schedulers: How sched_ext (BPF scheduler) can be used to surface elusive race conditions and concurrency errors by manipulating task scheduling.

  15. How to Listen for SystemProperties Changes in Android: Implementing real-time listeners for property changes to avoid inefficient polling.

  16. AI “Sees” Photos: Secrets of AI Album Search on Mobile: Exploring how CLIP models enable intelligent image search in mobile albums, covering pre-processing, encoders, and performance optimization.

  17. Source Analysis of LMK Memory Pressure Tool: mem-pressure: Deep dive into the mem-pressure tool used for reproducing low-memory scenarios and analyzing LMK (Low Memory Killer) behavior.

  18. DeepSeek-R1 Paper Analysis — A New Era for RL LLMs?: Exploring the groundbreaking reinforcement learning techniques behind DeepSeek-R1’s reasoning capabilities.

Miscellaneous

  1. 2024 Summary - Continuous Iteration: Reflecting on work, family, and personal growth through the lens of continuous improvement and health management.
  2. Morris Chang Interview: On Jensen Huang, 28nm, Apple, and More: Highlights from a two-hour interview with the TSMC founder on Acquired, discussing key partnerships and strategic bets.
  3. DeepSeek Official Prompt Library.
  4. Why Blog If Nobody Reads It?: Writing as a tool for clear thinking and a time capsule for one’s thoughts, regardless of audience size.
  5. Technology Weekly #336: Facing AI, the Internet is Falling: A weekly roundup of notable technology content.
  6. Tech Management Thinking: Daily 10-minute 1-on-1s.
  7. How to Increase Success Rate?: Go with the flow and reduce friction.
  8. Innovation, Involution, and Result-centrism: Discussing the success of DeepSeek’s distillation techniques in the context of broader cultural and technical trends.
  9. DPS Weekly 184 - Morris Chang’s Insights: Reflections on the TSMC founder’s autobiography.
  10. Career Advice for IT Youngsters: Don’t Be a “Teapot Cooking Dumplings”: Warning against tech talent who are full of knowledge but cannot effectively communicate or solve practical problems.
  11. Translation: AI is Creating a Generation of Illiterate Programmers: A warning on over-reliance on AI resulting in weakened debugging skills and shallow understanding of code.
  12. AI and Writing: Exploring whether AI can truly aid deep thinking in writing or just assist with text processing.

Weekly Discussion

Given the current success of Large Models + Reasoning + Web Search, the continuous output of high-quality articles remains extremely important in the AI era.

What do you think?

About the Author

  1. Juejin - Gracker
  2. Zhihu - Gracker
  3. Personal Blog - Android Performance
  4. About Me - Join our WeChat groups
  5. Curated Performance Articles
  6. Newsletter Subscription
  7. WeChat Official Account Android Performance:
  8. Android Performance Knowledge Planet
  • Licensed under CC BY-NC-SA 4.0
  • Please credit: Android Weekly Issue X
  • Subscribe and share to benefit more developers.
CATALOG
  1. 1. Technical Articles
  2. 2. Miscellaneous
  3. 3. Weekly Discussion
  4. 4. About the Author
  5. 5. Copyright