evancz / react-angular-ember-elm-performance-comparison

Comparing performance of Elm, React, Angular, and Ember
BSD 3-Clause "New" or "Revised" License
91 stars 39 forks source link

Add Angular 1.5.7 examples #1

Closed IwalkAlone closed 8 years ago

IwalkAlone commented 8 years ago

Add two Angular 1.5.7 examples: a direct adaptation of https://github.com/tastejs/todomvc/tree/gh-pages/examples/angularjs-perf and an optimized version.
window.requestAnimationFrame is redefined to call the callback synchronously in index.html to fulfill the benchmark requirements. image

evancz commented 8 years ago

Awesome! I have been taking out all the localStorage stuff as well. I think I forgot to put that in the README. That is a part of the code that 100% has no impact on render performance, so I wanted to leave it out. Do you mind taking it out in both?

IwalkAlone commented 8 years ago

localStorage removed.

evancz commented 8 years ago

Great, thanks! I took a look through to see what the optimizations were. Surprised to see that it was in the logic rather than the rendering stuff. Also, crazy that it made a pretty big difference. Very interesting! Anyway, thanks again :)