高性能Android Apps开发(High Performance Android Apps)-2015年O'reilly英文原版,0积分

5星(超过95%的资源)
所需积分/C币:10 2016-12-06 13:03:59 14.96MB PDF
1
收藏 收藏
举报

高性能Android Apps开发(High Performance Android Apps)-2015年O'reilly英文原版,0积分
High Performance Android Apps Improve Ratings with speed, Optimizations, and testing D oug Sillars Beijing·.oton: Farnham: Sebastopol Tokyo○RELY° High Performance Android Apps by doug sillars Copyright@ 2015 AT&T Services, Inc. All rights reserved Printed in the United States of America Published by o reilly Media, Inc, 1005 Gravenstein Highway North, Sebastopol, CA95472 OReilly books may be purchased for educational, business, or sales promotional use Online editions are alsoavailableformosttitles(http://safaribooksonline.com).Formoreinformationcontactourcorporate institutionalsalesdepartment800-998-9938orcorporate@oreilly.com Editors: Brian Anderson and Courtney allen Indexer: Judy mcconville Production Editor: Shiny Kalapurakkel Interior Designer: David Futato Copyeditor: Jasmine Kwityn Cover Designer: Karen Montgomer Proofreader: Elise morrison Illustrator: Rebecca Demarest September 2015: First Edition Revision History for the First Edition 2015-09-04: First Release Seehttp://oreilly.com/catalog/errata.csp?isbn=9781491912515forreleasedetails The OReilly logo is a registered trademark of O Reilly Media, Inc. High Performance Android Apps, the cover image, and related trade dress are trademarks of o reilly Media, Inc While the publisher and the author have used good faith efforts to ensure that the information and instructions contained in this work are accurate, the publisher and the author disclaim all responsibility for errors or omissions, including without limitation responsibility for damages resulting from the use of or reliance on this work. Use of the information and instructions contained in this work is at your own risk. If any code samples or other technology this work contains or describes is subject to open source licenses or the intellectual property rights of others, it is your responsibility to ensure that your use thereof complies with such licenses and or rights 978-1-491-91251-5 ILSI Table of contents Foreword iX Preface 1. Introduction to android performance Performance Matters to Your users Ecommerce and Performance Beyond Ecommerce sales Performance Infrastructure Savings The Ultimate Performance Fail: Outages Performance as a Rolling Outage Consumer Reaction to Performance Bugs 22444678 Smartphone Battery Life: The Canary in the Coal Mine Testing Your App for Performa Synthetic Testing Real User Monitoring (RUM) 10 Conclusion 10 2. Building an Android Device Lab. What Devices Are Your Customers Using? Device spec breakdown Screen SDK Version CPU/Memory and storage What Networks are Your Customers Using? 12223334 Your devices are not your customers devices Testing 15 Building Your Device Lab 16 You Want sX, 000 for Devices? 16 So What devices should i pick? 18 Beyond Phones 20 Android Open Source Project Devices Other options 22 Additional Considerations 23 My Device lab 24 Conclusion 25 3. Hardware Performance and Battery Life...,................ 27 Android hardware Features 27 Less is more 28 What Causes battery drain 29 Android power profile creen 32 Radios 33 CPU 33 Additional sensors 34 Get to sl 35 Wakelocks and alarms 35 Doze framework 37 Basic battery drain analysis 38 App-Specific Battery drain 41 Coupling Battery Data with Data Usage 44 App Advanced Battery Monitoring batterystats Battery historian 52 Battery Historian 2.0 62 Jobscheduler Conclusion 71 4. Screen and ul performance 73 UI Performance Benchmarks 73 Jank 74 UI and Rendering Performance Updates in Android BuildingⅤiews Hierarchy viewer Asset reduction 0 Overdrawing the Screen Testing overdraw 91 Overdraw in hierarchy viewer 94 iv Table of Contents Overdraw and KitKat(Overdraw avoidance 96 Analyzing For Jank(Profiling GPU Render GPU Rendering in Android Marshmallow 100 Beyond Jank(skipped Frames) 102 Systrace 103 Systrace Screen Painting 106 Systrace and CPU Usage Blocking Render 113 Systrace Update--I/O 2015 Vendor-Specific Tools 117 Perceived Performance 117 Spinners: The Good and the bad 117 Animations to mask load times 118 The White Lie of Instant Updates 118 Tips to Improve perceived performance 119 Conclusion 119 5. Memory Performance.……………………121 Android Memory: How It Works 121 hared versus Private memory S 122 Dirty versus clean memory 122 Memory Cleanup(Garbage Collection) 123 Figuring Out How Much Memory Your App Uses 126 Procstats 131 Android Memory warnings 136 Memory Management/Leaks in Java 137 Tools for Tracking Memory Leaks 138 Heap dump 138 Allocation tracker 140 Adding a Memory leak 142 Deeper Heap Analysis: MAT and LeakCanary 145 mat Eclipse memory analyzer Tool 145 Leak Canary 153 Conclusion 156 6. CPU and cpu performance 157 Measuring CPU Usage 158 Systrace for CPu analysis 160 Traceview (Legacy Monitor DDMS tool) 163 Traceview(Android Studio 166 Other Profiling tools 170 Table of contents Conclusion 172 7. Network performance 173 Wi-Fi versus Cellular radios 174 Wi-Fi 174 C lular 174 RRC State Machine 176 Testing Tools 179 Wireshark 180 Fiddler 181 MITMProxy 183 at&T Application Resource Optimizer 183 Hybrid Apps and WebPage Test. org 187 Network Optimizations for android 187 File optimizations 188 Text File Minification( Souders: Minify JavaScript) Images 191 File Caching 193 Beyond files 196 Grouping Connections 196 Detecting Radio Usage in Your App 199 All Good Things Must Come to An End: Closing Connections 200 Regular repeated pings 202 SecurityinNetworking(httpversusHttps 203 Worldwide Cellular Coverage 203 CDN 204 Testing Your App on Slow Networks 205 Emulating slow Networks Without Breaking the bank 206 Building Network-Aware Apps 207 Accounting for Latency 210 Last-Mile Latency 211 “ Other” Radios 211 GPS 211 Bluetooth 212 Conclusion 213 8. Real User Monitoring Enabling RUM Tools 216 RUM Analytics: Sample App 217 Crashing 218 Examining a Crashlytics Crash Report 220 U 225 Table of contents Real-Time Information 230 Big data to the rescue 231 RUM SDK Performance 231 Conclusion 233 A. Organizational Performance 235 Index 241 Table of contents|ⅶi

...展开详情
试读 127P 高性能Android Apps开发(High Performance Android Apps)-2015年O'reilly英文原版,0积分
立即下载
限时抽奖 低至0.43元/次
身份认证后 购VIP低至7折
一个资源只可评论一次,评论内容不能少于5个字
CharlieZzo 谢谢分享,好用
2018-12-27
回复
您会向同学/朋友/同事推荐我们的CSDN下载吗?
谢谢参与!您的真实评价是我们改进的动力~
  • 分享王者

关注 私信
上传资源赚钱or赚积分
最新推荐
高性能Android Apps开发(High Performance Android Apps)-2015年O'reilly英文原版,0积分 10积分/C币 立即下载
1/127
高性能Android Apps开发(High Performance Android Apps)-2015年O'reilly英文原版,0积分第1页
高性能Android Apps开发(High Performance Android Apps)-2015年O'reilly英文原版,0积分第2页
高性能Android Apps开发(High Performance Android Apps)-2015年O'reilly英文原版,0积分第3页
高性能Android Apps开发(High Performance Android Apps)-2015年O'reilly英文原版,0积分第4页
高性能Android Apps开发(High Performance Android Apps)-2015年O'reilly英文原版,0积分第5页
高性能Android Apps开发(High Performance Android Apps)-2015年O'reilly英文原版,0积分第6页
高性能Android Apps开发(High Performance Android Apps)-2015年O'reilly英文原版,0积分第7页
高性能Android Apps开发(High Performance Android Apps)-2015年O'reilly英文原版,0积分第8页
高性能Android Apps开发(High Performance Android Apps)-2015年O'reilly英文原版,0积分第9页
高性能Android Apps开发(High Performance Android Apps)-2015年O'reilly英文原版,0积分第10页
高性能Android Apps开发(High Performance Android Apps)-2015年O'reilly英文原版,0积分第11页
高性能Android Apps开发(High Performance Android Apps)-2015年O'reilly英文原版,0积分第12页
高性能Android Apps开发(High Performance Android Apps)-2015年O'reilly英文原版,0积分第13页
高性能Android Apps开发(High Performance Android Apps)-2015年O'reilly英文原版,0积分第14页
高性能Android Apps开发(High Performance Android Apps)-2015年O'reilly英文原版,0积分第15页
高性能Android Apps开发(High Performance Android Apps)-2015年O'reilly英文原版,0积分第16页
高性能Android Apps开发(High Performance Android Apps)-2015年O'reilly英文原版,0积分第17页
高性能Android Apps开发(High Performance Android Apps)-2015年O'reilly英文原版,0积分第18页
高性能Android Apps开发(High Performance Android Apps)-2015年O'reilly英文原版,0积分第19页
高性能Android Apps开发(High Performance Android Apps)-2015年O'reilly英文原版,0积分第20页

试读结束, 可继续阅读

10积分/C币 立即下载