O'Reilly logo

Mastering Web Application Development with AngularJS by Pawel Kozlowski, Peter Bacon Darwin

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Performance tuning of AngularJS applications

We would like to have applications that are "fast". But "fast" might mean different things to different people, and this is why we need to focus on measurable items that influence the overall performance. In this chapter, we are focusing on the in-browser performance and putting network-related problems aside (those are discussed in Chapter 12, Packaging and Deploying AngularJS Web Applications). If we narrow down performance concerns to what is happening in a browser, we need to look at the CPU utilization and memory consumption.

Optimizing CPU utilization

Apart from an application's logic there are number of AngularJS-specific operations that will eat up CPU cycles. The $digest loop requires our special ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required