Skip to content

Commit

Permalink
benchmark; add reasonable results
Browse files Browse the repository at this point in the history
for now until we get real tracking
  • Loading branch information
aheckmann committed Apr 22, 2013
1 parent 2ef5f23 commit 7712c90
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion benchmarks/populationHeavyLoad.js
Expand Up @@ -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 = {};
Expand Down

0 comments on commit 7712c90

Please sign in to comment.