stefanpenner/perf-stress — pull request #20 by vitch (2014-11-09 23:16:23+00:00)
Title: Example of severe speed regression in ember-data

As discussed [on the forum](http://discuss.emberjs.com/t/10-slowdown-in-store-pushpayload-with-ember-data-beta-11/6608), when I upgraded my app from Ember 1.7 and Ember Data beta 9 to Ember 1.8 and Ember Data beta 11 I noticed a large slowdown in the time taken to push records into the store.

This PR contains code which does what my app does. Apologies for the large number of models but I thought it was best to illustrate the relationships etc I have set up.

Running this code with Ember 1.7 and Ember Data beta 9 takes a total of around 1.6 seconds on my laptop. Running it with Ember 1.8 and Ember Data beta 11 takes about 2.6 seconds - a 62% slowdown!

On my target platform of Android the code runs much slower and so the slow down is even more significant.

Hopefully this example code can help tracking down where things have slowed down!