摘要:
Batterystats & Battery Historian Walkthrough Working with Batterystats & Battery Historian Battery Historian Charts You should also read Battery Histo 阅读全文
摘要:
1.官方文档 https://developer.android.google.cn/topic/performance/tracing https://ui.perfetto.dev/ 在线阅读trace文件 https://perfetto.dev/ perfetto 官方 2.命令行上捕获系统 阅读全文
摘要:
Profiling with Traceview and dmtracedump In this document Traceview Layout Traceview工具界面介绍 Timeline Panel 时间线面板 Profile Panel 数据面板 各行列介绍 Creating Trac 阅读全文
摘要:
Memory Profilers In this document Memory Monitor Heap Viewer Allocation Tracker You should also read Memory Monitor Walkthrough Heap Viewer Walkthroug 阅读全文
摘要:
Hierarchy Viewer Walkthrough 1.In this document Prerequisites Setting the ANDROID_HVPROTO variable Working with Hierarchy Viewer You should also read 阅读全文
摘要:
Profiling GPU Rendering Walkthrough 1.In this document Prerequisites Profile GPU Rendering $adb shell dumpsys gfxinfo You should also read Debug GPU O 阅读全文
摘要:
SMP Primer for Android 1.In this document Theory Memory consistency models Processor consistency CPU cache behavior Observability ARM’s weak ordering 阅读全文
摘要:
Performance Tips 1.In this document Avoid Creating Unnecessary Objects 避免多余的对象 Prefer Static Over Virtual 多用static方法,它比其它方法快15%-20% Use Static Final F 阅读全文
摘要:
JNI Tips 1.In this document JavaVM and JNIEnv Threads jclass, jmethodID, and jfieldID Local and Global References UTF-8 and UTF-16 Strings Primitive A 阅读全文
摘要:
Keeping Your App Responsive 官方文档 https://developer.android.google.cn/topic/performance/vitals/anr 1.In this document What Triggers ANR? How to Avoid A 阅读全文
摘要:
Creating a Manager for Multiple Threads Creating a Manager for Multiple Threads 1.You should also read Processes and Threads The previous lesson showe 阅读全文
摘要:
Manipulating Broadcast Receivers On Demand Manipulating Broadcast Receivers On Demand This lesson teaches you to Toggle and Cascade State Change Recei 阅读全文
摘要:
Determining and Monitoring the Connectivity Status Determining and Monitoring the Connectivity Status This lesson teaches you to Determine if you Have 阅读全文
摘要:
Determining and Monitoring the Docking State and Type PreviousNext Determining and Monitoring the Docking State and Type PreviousNext This lesson teac 阅读全文
摘要:
Monitoring the Battery Level and Charging State PreviousNext Monitoring the Battery Level and Charging State PreviousNext This lesson teaches you to D 阅读全文