随笔分类 -  Android 性能优化

摘要:Determining and Monitoring the Connectivity Status Determining and Monitoring the Connectivity Status This lesson teaches you to Determine if you Have 阅读全文
posted @ 2016-04-14 23:15 f9q 阅读(217) 评论(0) 推荐(0) 编辑
摘要:Determining and Monitoring the Docking State and Type PreviousNext Determining and Monitoring the Docking State and Type PreviousNext This lesson teac 阅读全文
posted @ 2016-04-14 23:13 f9q 阅读(277) 评论(0) 推荐(0) 编辑
摘要:Monitoring the Battery Level and Charging State PreviousNext Monitoring the Battery Level and Charging State PreviousNext This lesson teaches you to D 阅读全文
posted @ 2016-04-14 23:11 f9q 阅读(290) 评论(0) 推荐(0) 编辑
摘要:Optimizing for Doze and App Standby Optimizing for Doze and App Standby In this document Understanding Doze Doze restrictions Adapting your app to Doz 阅读全文
posted @ 2016-04-14 22:18 f9q 阅读(573) 评论(0) 推荐(0) 编辑
摘要:Optimizing General Network Use Optimizing General Network Use This lesson teaches you to Compress Data Cache Files Locally Optimize Pre-Fetch Cache Si 阅读全文
posted @ 2016-04-14 22:01 f9q 阅读(212) 评论(0) 推荐(0) 编辑
摘要:Optimizing Server-Initiated Network Use Optimizing Server-Initiated Network Use This lesson teaches you to Send Server Updates with GCM Network traffi 阅读全文
posted @ 2016-04-14 21:59 f9q 阅读(238) 评论(0) 推荐(0) 编辑
摘要:Optimizing App-Initiated Network Use Optimizing App-Initiated Network Use This lesson teaches you to Batch and Schedule Network Requests Allow System 阅读全文
posted @ 2016-04-14 21:57 f9q 阅读(294) 评论(0) 推荐(0) 编辑
摘要:Optimizing User-Initiated Network Use This lesson teaches you to Quick handling of user requests helps ensure a good user experience, especially when 阅读全文
posted @ 2016-04-14 21:29 f9q 阅读(208) 评论(0) 推荐(0) 编辑
摘要:Analyzing Network Traffic Data Analyzing Network Traffic Data 1.This lesson teaches you to Analyze App Network Traffic Analyze Network Traffic Types I 阅读全文
posted @ 2016-04-14 21:24 f9q 阅读(464) 评论(0) 推荐(0) 编辑
摘要:Collecting Network Traffic Data Collecting Network Traffic Data 1.This lesson teaches you to Tag Network Requests 标记网络类型 Configure a Network Test Buil 阅读全文
posted @ 2016-04-14 21:18 f9q 阅读(929) 评论(0) 推荐(0) 编辑
摘要:Optimizing Layout Hierarchies Optimizing Layout Hierarchies This lesson teaches you to Inspect Your Layout Revise Your Layout Use Lint You should also 阅读全文
posted @ 2016-04-14 16:10 f9q 阅读(475) 评论(0) 推荐(0) 编辑
摘要:Debug GPU Overdraw Walkthrough 1.In this document Prerequisites Visualizing Overdraw You should also read Profile GPU Rendering Walkthrough Hierarchy 阅读全文
posted @ 2016-04-13 15:52 f9q 阅读(2028) 评论(0) 推荐(0) 编辑
摘要:Optimizing Your UI In this document Using Hierarchy Viewer Running Hierarchy Viewer and choosing a window About the View Hierarchy window Working with 阅读全文
posted @ 2016-04-05 23:21 f9q 阅读(324) 评论(0) 推荐(0) 编辑
摘要:Improving Your Code with lint 1.See Also lint (reference) Using Android Annotations In addition to testing that your Android application meets its fun 阅读全文
posted @ 2016-04-05 23:04 f9q 阅读(458) 评论(0) 推荐(0) 编辑
摘要:参考: https://liuzhichao.com/p/832.html http://www.2cto.com/kf/201311/255640.html 1,简介: SparseArray是android里为<Interger,Object> 这样的Hashmap而专门写的类,目的是提高效率, 阅读全文
posted @ 2016-04-05 16:07 f9q 阅读(219) 评论(0) 推荐(0) 编辑
摘要:1.简介 它是一个非常简单好用的内存泄漏检测工具库。可以轻松检测Activity,Fragment的内存泄漏。如果有内存泄漏,它会产生一个通知。 2.资料 官网: https://github.com/square/leakcanary 官网教程: https://github.com/square 阅读全文
posted @ 2016-04-04 21:19 f9q 阅读(583) 评论(0) 推荐(0) 编辑
摘要:1.集合类泄漏 集合类如果仅仅有添加元素的方法,而没有相应的删除机制,导致内存被占用。如果这个集合类是全局性的变量 (比如类中的静态属性,全局性的 map 等即有静态引用或 final 一直指向它),那么没有相应的删除机制,很可能导致集合所占用的内存只增不减。我们都喜欢通过 HashMap 做一些缓 阅读全文
posted @ 2016-04-04 00:17 f9q 阅读(506) 评论(0) 推荐(0) 编辑
摘要:参考 http://blog.csdn.net/xiaanming/article/details/42396507 基本步骤: 1,准备一个有内存泄漏的代码 2,如何发现内存泄漏 3,生成.hprof 4,打开.hprof 文件开始分析 5,修复代码 1,准备一个有内存泄漏的代码 2,如何发现内存 阅读全文
posted @ 2016-04-03 23:11 f9q 阅读(680) 评论(0) 推荐(0) 编辑
摘要:参考: http://www.blogjava.net/rosen/archive/2010/05/21/321575.html 1,Java进程内存堆分代: 典型的JVM根据generation(代)来进行GC。一个java程序内存堆有下面几个代: young generation (年轻代) t 阅读全文
posted @ 2016-04-02 15:08 f9q 阅读(475) 评论(0) 推荐(0) 编辑
摘要:原文: http://help.eclipse.org/mars/index.jsp?topic=%2Forg.eclipse.mat.ui.help%2Fgettingstarted%2Fbasictutorial.html Basic Tutorial This tutorial provide 阅读全文
posted @ 2016-03-29 14:17 f9q 阅读(389) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示