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

Summary

This chapter provided in-depth coverage of AngularJS internals. We need to get a good grasp of AngularJS inner-working in order to understand its performance characteristics and theoretical limits.

All performance-related improvements must start with scrupulous measurements so as to identify and understand existing bottlenecks. Starting the performance-tuning process without hard data is like shooting in the dark. Fortunately, there is an excellent Chrome extension, Batarang, that lets us inspect a running application.

We should pay special attention to the AngularJS $digest loop execution time as it can determine users' perception of the entire application. Allow the $digest loop to run for more than 50ms-100ms, and users will start perceiving ...

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