Skip to content

Commit

Permalink
Fixed benchmark test
Browse files Browse the repository at this point in the history
  • Loading branch information
notheotherben committed Oct 9, 2014
1 parent 9cf9041 commit ae5f621
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions benchmarks/mongodb.js
@@ -1,6 +1,6 @@
var async = require('async'),
MongoClient = require('mongodb').MongoClient,
Iridium = require('./');
Iridium = require('../');

var objects = [];
for(var i = 0; i < 10000; i++)
Expand Down Expand Up @@ -61,7 +61,7 @@ MongoClient.connect('mongodb://localhost/iridium_bench', function(err, mDB) {
function(done) {
console.log('Iridium 10000 Inserts { w: 1, wrap: false }');
var start = new Date();
model.insert(objects, { wrap: false }, function(err, inserted) {
model.insert(objects, { w: 1, wrap: false }, function(err, inserted) {
if(err) return done(err);
printTime(' => %s', start);
return done();
Expand Down

0 comments on commit ae5f621

Please sign in to comment.