Chapter 12

Launching Your App

At this point, you're just about ready to launch your app. However, the development process may have introduced performance issues. Now that the majority of the code has been written, it's an excellent time to step back and assess the overall performance of the app.

In this chapter, you discover performance testing techniques that complement the Test Driven Development (TDD) approach you established in Chapter 1. These tests help you identify problem areas and create a solid optimization plan.

Next, you learn the differences between perceived and actual performance, as well as how to compress files properly for the smallest filesizes. Then you hear about techniques for optimizing animation. These include dipping into CSS3 animation techniques, as well as HTML5's cutting edge requestAnimationFrame API. Afterwards, you discover some more general optimization approaches such as reducing tasks and minimizing browser reflows. Finally, you explore different deployment options, such as Content Delivery Networks (CDNs) and scalable server clouds.

Performance Checklist

One of the most important features of any app is how quickly it runs. In the past, optimization efforts were focused primarily on the server: improving latency issues and increasing capabilities to handle more concurrent requests. However, in recent years, developers have begun to focus much more on client-side performance, which comes primarily down to JavaScript. Although you can throw money ...

Get JavaScript Programming: Pushing the Limits now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.