From ae5f621854391145e043536e5269e8d23db527ec Mon Sep 17 00:00:00 2001 From: Benjamin Pannell Date: Thu, 9 Oct 2014 22:00:51 +0200 Subject: [PATCH] Fixed benchmark test --- benchmarks/mongodb.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/benchmarks/mongodb.js b/benchmarks/mongodb.js index bafbd34..82ab1c1 100644 --- a/benchmarks/mongodb.js +++ b/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++) @@ -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();