AngularJS performance - too many watchers?

I am trying to debug an AngularJS website to improve download performance. Currently, the browser freezes for 1-2 seconds the first time it loads without caching.

From reading various posts, I learned that observers are often the biggest performance issue in AngularJS applications.

Here is a screenshot from batarang:

batarang results But how many too many observers? 7k ~ a lot, but is it too much?

When debugging in the Chrome console’s CPU profile, it’s hard for me to determine what causes h - k - z.onload, and in general, how to improve performance, as well as fewer observers:

cpu profile results

I know this is a broad question, but I am looking for any performance recommendations for AngularJS.

+4

All Articles