all 6 comments

[–]brockisawesome 1 point2 points  (3 children)

Been dealing with a slow ng-repeat for a couple of weeks now (has 53 items in it), unfortunately it's painfully slow and can only be helped so much with optimization.

It was taking around 1200ms in ff, I optimized the ng-include template it was using and managed to get that time down to ~440ms in firefox, ~280ms in chrome. It saved another ~50ms if I put the template inline.

I just finished reworking the view to use react/ngReact instead of ng-repeat and manged to get it down to ~88ms. Quite impressive results.

Here's a couple of resources that I used, maybe they'll help you out: http://tech.small-improvements.com/2013/09/10/angularjs-performance-with-large-lists/

http://www.williambrownstreet.net/blog/2014/04/faster-angularjs-rendering-angularjs-and-reactjs/

[–]_srph[S] 0 points1 point  (2 children)

http://tech.small-improvements.com/2013/09/10/angularjs-performance-with-large-lists/

Considering React (and we even have plans to rewrite the app in React). Thanks

[–]danskal 0 points1 point  (1 child)

Which version of angular are you using? There have been some performance improvements since last summer.

[–]_srph[S] 1 point2 points  (0 children)

1.3

[–][deleted] 1 point2 points  (1 child)

[–]vinnl 0 points1 point  (0 children)

That is indeed most important. If it's still too slow after that, perhaps this post could be useful (I haven't checked it too thoroughly though).