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

Update ember to 2.9.0-beta.1 (new rendering engine) #9

Closed devinrhode2 closed 8 years ago

devinrhode2 commented 8 years ago

This updates ember to 2.9.0-beta.1 which includes an initial version of glimmer2. Ember 2.9 is focusing on ensuring the new rendering engine doesn't have any unexpected bugs, future versions will focus on more perf optimizations.

@evancz From what I've gathered about glimmer2, there are 2 significant optimizations I know of off hand:

  1. Handlebars templates are essentially pure functions, so glimmer just diffs the inputs. I'm not sure if virtual dom doesn't do this, but it may be worth double checking.
  2. Template serialization format. The number of bytes sent over the wire for each compiled template has been drastically reduced. See Ember.js 2.8 and 2.9 Beta Released for more info

How would I run/update the benchmarks? I'm not seeing any documentation for this.

devinrhode2 commented 8 years ago

Looks like perf has actually regressed by 1500ms from ~5000 to ~6500 according to this benchmark. Going to hold off until there's an actual improvement