This is a list of awesome Android tutorials, videos and tools for performance optimization
##View
- Infamous ViewHolder Pattern - ViewHolder pattern in ListView
- View Reduction - use Compound Drawables to increase performance
- Improving Comment Rendering on Android - Instgram's post on TextView Performance
- Custom ViewGroups - a Facebook Engineer's artcile on Custom ViewGroup to increase performance
##WebView
- Why Use Crosswalk? - use crosswalk for better performance, especiallly for android version below4.4
- Enhance webView performance - disable the WebView cache to make WebView much faster.
####Tools
- crosswalk-cordova-android — An app runtime based on Chromium/Blink.
##Graphics
- Android 3.0 Hardware Acceleration
- Debug Overdraw - debug overdraw
- Android Performance Case Study - Debug Performance use
gfxinfo
systrace andshow GPU Overdraw
HierarchyViewer
OpenGL traces
- Android Performance Case Study Follow-up - Use
OpenGL traces
and UUI problems caused by transparency - Hardware Acceleration
- Optimizing Hardware Layers
- Graphics Performance - Podcasts on Android Performance ####Tools
- Analyzing UI Performance with Systrace
- Optimizing Your UI - HierarchyViewer Usage
- Introduction to Systrace
##Bitmaps
- Loading Large Bitmaps Efficiently
- Bitmap quality, banding and dithering
- Android: bitmaps, textures and pre-multiplied pixels
- Testing Display Performance
##Memory
- Investigating Your RAM Usage
- The truth about Preventative Optimizations - You can find some useful things from the links.
- A small leak will sink a great ship
- LeakCanary A memory leak detection library for Android and Java.
- Android内存泄露案例分析
- Tips for Optimizing Android Application Memory Usage - Tips
- Android memory and performance optimization - Tutorial
- Building Memory-efficient Java Applications
- How to Leak a Context: Handlers & Inner Classes
- Improving Facebook's performance on Android with FlatBuffers
####Memory Tools
- YourKit - Performance and Memory Java Profile
- MAT - Memory Analysis tool for Java
- Allocation Tracker
##CPU
####Tools
##Battery
- Optimizing Battery Life - Android's official tutorial for Battery Optimization
###Network
- Better Compression = Faster Networking - Colt McAnlis' talk from SF Android
- Improving UX through performance - using okhttp, Fresco,or ToFu to improve network performance
#Article Videos Tools and others that cover multiple topics ##Performance Test
- Testing Performance of Mobile Apps - Part 1: How Fast Can Angry Birds Run? ##Articles
- Performance Tuning On Android - Venmo's experience on UI performance optimization
- Best Practices for Performance - Android Official Training on Performance
- Developing for Android - Chet Haase's series,including Memory,Storage, UI Performance
- Detect and Resolve Performance Problems on Android - Use multiple ways to detect and fix Android Performance Problems
- Performance Tips - Android's Official Perf tips
- Facebook Engineering blogs tagged android - Including many articles on performance
#Tools
- Developing for Android IXTools
- Performance Profiling Tools - Performance Tools
- StrictMode - Debug Util Class for etection for Storage, Memory and others.
##Videos
- Android Performance Patterns - Google's official Video about Android Performance
- Android Performance - Udacity's Video Series ##Codes
- udacity render example
- leakcanary - leakcanary source codes
##People you should follow(their work contribute to almost all of this list)
- Colt McAnlis - Instructor of the Video at Udacity and Youtube
- Chet Haase - Author of the Developing for Android series
- Romain Guy - former developer of android ui framework team