Skip to content

Commit

Permalink
Merge pull request #4699 from runspired/fix/complex-benchmarking
Browse files Browse the repository at this point in the history
include related record on the complex test
  • Loading branch information
bmac authored Dec 6, 2016
2 parents bc9a659 + 9d88bd0 commit 9a7f0cc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions benchmarks/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ module.exports = {
// "query?modelName=simple&limit=2", // 2 total
// "query?modelName=simple&limit=34", // 34 total
// "query?modelName=simple&limit=119", // 119 total
"query?modelName=simple&limit=238", // 238 total
// "query?modelName=simple&limit=238", // 238 total


// complex returns 7 total records of 3 model types per count in limit
Expand All @@ -18,7 +18,7 @@ module.exports = {
// "query?modelName=complex&limit=2", // 14 total
// "query?modelName=complex&limit=5", // 35 total
// "query?modelName=complex&limit=17", // 119 total
// "query?modelName=complex&limit=34", // 238 total
"query?modelName=complex&limit=34&included=foo,baz", // 238 total


// heavy returns 17 total records of 5 model types per count in limit
Expand Down
3 changes: 3 additions & 0 deletions tests/dummy/app/routes/query/route.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ export default Route.extend({
},
modelName: {
refreshModel: true
},
included: {
refreshModel: true
}
},

Expand Down

0 comments on commit 9a7f0cc

Please sign in to comment.