Skip to content
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

fix(benchmarks): benchmarks for store.query no longer included record… #4696

Merged
merged 2 commits into from
Dec 7, 2016

Conversation

runspired
Copy link
Contributor

… materialization as this is now so lazy that it must be forced, this makes the benchmark force it so that we can continue to measure improvement within materialization

@@ -24,6 +24,7 @@ export default Route.extend({
let token = heimdall.start('ember-data');
return this.get('store').query(modelName, params)
.then((records) => {
records.toArray();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@runspired do you mind adding a comment explaining this line forces the materialization so we don't forget in the future?

… materialization as this is now so lazy that it must be forced, this makes the benchmark force it so that we can continue to measure improvement within materialization
@runspired
Copy link
Contributor Author

@bmac updated and rebased.

@bmac bmac merged commit 701eff4 into emberjs:master Dec 7, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants