r/angularjs • • Feb 17 '16

Is Angular 2 is faster ?

http://jslancer.com/2016/02/15/is-angular-2-is-faster/
10 Upvotes

16 comments sorted by

View all comments

12

u/EmptyTon Feb 17 '16

The Angular 2 version gets significantly faster with trackBy support. https://github.com/angular/angular/pull/6779

When profiling with the chrome devtools timeline I get

VersionJS timeLayout time
Angular 165 ms75 ms
Angular 2 original210 ms60 ms
Angular 2 trackBy27 ms45 ms

3

u/spritefire Feb 17 '16 edited Feb 17 '16

This was explained to the developer the other day when they posted their findings to facebook.. but yet he his still blogging / posting about it everywhere. My guess is that it's a react fan boi trying to bad mouth angular2.

*edit: to quote the author/dev: "React because of many reasons: – React is more stable, Angular 2 is not stable yet sometimes it fails silently without notify anything. – React is proven to be faster."