Permalink
Browse files

benchmark; add reasonable results

for now until we get real tracking
  • Loading branch information...
1 parent 2ef5f23 commit 7712c90d6c9a2bdb8b72883864804817f773e308 @aheckmann aheckmann committed Apr 22, 2013
Showing with 14 additions and 1 deletion.
  1. +14 −1 benchmarks/populationHeavyLoad.js
@@ -634,7 +634,20 @@ var db = mongoose.createConnection('localhost', 'HeavyLoad', function (err) {
// qry.sum = sum;
// qry.avg = sum / rsLen;
}
- console.log(finalResults);
+ console.log();
+
+ console.log('reasonable results:', {
+ rowCnt: 25,
+ dicCnt: 100,
+ turns: 5,
+ 'findOne lean=true': 34,
+ 'findAll lean=true': 241.2,
+ 'findOne lean=false': 84,
+ 'findAll lean=false': 325 });
+
+ console.log();
+ console.log('actual results', finalResults);
+
mongoose.disconnect();
};
var updated = {};

0 comments on commit 7712c90

Please sign in to comment.