Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Bad performance of angularJS in Firefox

I have huge performance issues with my angularJS app using Firefox (V45). I'm not able to find the problem. It works perfectly in Google Chrome, IE11 and Edge.

Does someone know how get better overall performace in Firefox?

Nochmal auf Deutsch: Ich habe gewaltige Performance Probleme mit meiner AngularJS App. Diese treten nur im Firefox auf. In andern Browsern gibt es keine Probleme.

Hat jemand eine Idee wie man die Performance steigern kann?

like image 438
Johannes Scharf Avatar asked Oct 31 '22 06:10

Johannes Scharf


1 Answers

Without seeing your code is hard to tell what's wrong. But most of the time when there is a performance problem with angular application, means that you have to many watchers (data bindings). You can use this chrome extension to analyze if you can remove some of them https://chrome.google.com/webstore/detail/angularjs-batarang-stable/niopocochgahfkiccpjmmpchncjoapek. Google is full of pages with tips how to optimize your website. Most popular are cutting down number of observables and using one-way data bindings (http://blog.thoughtram.io/angularjs/2014/10/14/exploring-angular-1.3-one-time-bindings.html).

like image 98
Bodzio Avatar answered Nov 11 '22 17:11

Bodzio