emberjs/ember.js — pull request #5212 by stefanpenner (2014-07-23 18:22:25+00:00)
Title: [Bugfix beta] dramatically improve performance of eachComputedProperty

ember-data relies heavily on eachComputedProperty. Recently it has grown to rely on eachComputedProperty much more. This was due to state bleed introduced by storing this state on the model constructor. Those issues can be fixed, but will be much more involved and since the list of computedProperties rarely (if ever changes) it should likely just be cached on consumption and rely on proper invalidation.

Invalidation occurs if additional properties are added via defineProperty or reopen. If an ancestor is given additional computed properties or reopened after the first eachComputedProperty invocation,it will not cause an invalidation. This last caveat is actually true throughout embers object model and as such it should be considered extremely dubious to reopen objects after the first instance has been created.
Conflicts:
packages/ember-runtime/lib/system/core_object.js