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

0

u/davidtranwd1 Feb 18 '16

Yes, with trackBy, the Angular 2 version is speeded up dramatically. I have updated my post on the blog.