-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support Ember 2.0+ #51
Comments
There are also a number of existing performance tests which raise exceptions with
|
Awesome! Thank you for working on this! |
@rwjblue In the absence of I'm considering a creating an application with a template with a single It would also be nice if the updated tests to run in |
|
Take a look at https://github.com/ef4/initial-render-perf for a representative way to do the complex list in 1.12 - ~2.2 (canary). Key snippets:
|
Thanks, that's very useful |
I've implemented a new RenderTemplateTestClient which allows for simple tests such as: (function() {
var template = "hi {{name}}";
RenderTemplateTestClient.run({
name: 'Render simple attribute',
setup: function() {
this.setupTemplateTest(template, { name: 'Ben' });
},
reset: function() {
this.hideComponent();
},
test: function() {
this.showComponent();
}
});
})(); This currently works with Ember 1.11+, are we happy to drop support for earlier versions? If not, it should be easy to add support for earlier versions in |
Are we happy to drop support for Ember 1.10 and below? If not, we'll have to maintain multiple templates for things that have been removed like |
I've gathered results from before and after #52 to ensure that we're still capturing the slowdown and subsequent speed improvements in initial render performance: https://docs.google.com/spreadsheets/d/15MPfzCncD_PvM-nmfdrA-_UsUzNpAVV9pFkt3wU5rBo/edit?usp=sharing The new tests seem to be capturing this correctly (master on the left, #52 on the right): |
@GavinJoyce - Yes, we can tag current master (to allow us to get back to where we are now if we want to do relative comparisons across many versions), but I definitely think we need to structure this for Ember 2.x. 👍 to dropping Ember 1.10 support. |
related to #49
The text was updated successfully, but these errors were encountered: