Book Image

Mobile Web Performance Optimization

By : S. S. Niranga
Book Image

Mobile Web Performance Optimization

By: S. S. Niranga

Overview of this book

With users increasingly accessing the web on mobile devices, it’s crucial to make sure your website is built to seamlessly fit this radical change in user behavior. Mobile Web Performance Optimization is designed to help you do exactly that – it’s been created to help you build fast, and mobile-user-friendly websites and applications. Featuring guidance through a range of techniques and tools essential to modern mobile development, this accessible guide will make sure you’re delivering a seamless and intuitive experience for your website’s users. Begin by exploring the fundamental components of mobile web design and website optimization, before learning how to put the concepts into practice. Featuring cross-platform solutions, insights on developing lightweight yet robust UI, and insights on how to successfully manage data, this application development book takes you through every stage in the development process – so you can be confident that you’re asking the right questions and using the best tools in the most effective way. By the end, you’ll understand implicitly what it means to ‘build for performance’- you’ll be a more confident developer, capable of building projects that adapt to a changing world.
Table of Contents (14 chapters)
Mobile Web Performance Optimization
Credits
About the Author
About the Reviewer
www.PacktPub.com
Preface
Index

Profiling tools


Normally, mobile devices use four primary pieces of hardware to render a web page on to your screen. The CPU calculates all the display units, the GPU renders all the images to the screen, the memory stores all the data, and the battery provides the necessary electric power. All of these hardware units have their own limitations. Forcing or exceeding those limitations will cause your application or website to become slow, have a rendering issue, or will drain the battery.

To discover the reasons for specific performance issues and to find a solution, you have to take a look at your application's backend layer, use a tool to collect data about your application's behavior, generate a report with graphics, study those reports, and enhance your code.

Nowadays, many mobile development platforms and mobile devices provide profiling tools to generate visualized reports such as rendering, computing, and the battery performance of your application.

GPU Overdraw Walkthrough

Using a color...