Skip to content

Commit

Permalink
benchmarks updated for pull request setup
Browse files Browse the repository at this point in the history
  • Loading branch information
ebensing committed Aug 21, 2013
1 parent 94fb5eb commit 7021b6c
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion benchmarks/benchjs/casting.js
Expand Up @@ -117,7 +117,7 @@ suite.add('Casting - Embedded Docs - 0 Docs', {
}
})
.on('cycle', function (evt) {
if (process.env.MONGOOSE_DEV) {
if (process.env.MONGOOSE_DEV || process.env.PULL_REQUEST) {
console.log(String(evt.target));
}
}).on('complete', function () {
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/benchjs/delete.js
Expand Up @@ -95,7 +95,7 @@ mongoose.connect('mongodb://localhost/mongoose-bench', function (err) {
}
})
.on('cycle', function (evt) {
if (process.env.MONGOOSE_DEV) {
if (process.env.MONGOOSE_DEV || process.env.PULL_REQUEST) {
console.log(String(evt.target));
}
}).on('complete', function () {
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/benchjs/insert.js
Expand Up @@ -138,7 +138,7 @@ mongoose.connect('mongodb://localhost/mongoose-bench', function (err) {
}
})
.on('cycle', function (evt) {
if (process.env.MONGOOSE_DEV) {
if (process.env.MONGOOSE_DEV || process.env.PULL_REQUEST) {
console.log(String(evt.target));
}
}).on('complete', function () {
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/benchjs/multiop.js
Expand Up @@ -370,7 +370,7 @@ mongoose.connect('mongodb://localhost/mongoose-bench', function (err) {
}
})
.on('cycle', function (evt) {
if (process.env.MONGOOSE_DEV) {
if (process.env.MONGOOSE_DEV || process.env.PULL_REQUEST) {
console.log(String(evt.target));
}
}).on('complete', function () {
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/benchjs/population.js
Expand Up @@ -337,7 +337,7 @@ mongoose.connect('mongodb://localhost/mongoose-bench-pop', function (err) {
})

.on('cycle', function (evt) {
if (process.env.MONGOOSE_DEV) {
if (process.env.MONGOOSE_DEV || process.env.PULL_REQUEST) {
console.log(String(evt.target));
}
}).on('complete', function () {
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/benchjs/read.js
Expand Up @@ -256,7 +256,7 @@ mongoose.connect('mongodb://localhost/mongoose-bench', function (err) {
}
})
.on('cycle', function (evt) {
if (process.env.MONGOOSE_DEV) {
if (process.env.MONGOOSE_DEV || process.env.PULL_REQUEST) {
console.log(String(evt.target));
}
}).on('complete', function () {
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/benchjs/update.js
Expand Up @@ -280,7 +280,7 @@ mongoose.connect('mongodb://localhost/mongoose-bench', function (err) {
}
})
.on('cycle', function (evt) {
if (process.env.MONGOOSE_DEV) {
if (process.env.MONGOOSE_DEV || process.env.PULL_REQUEST) {
console.log(String(evt.target));
}
}).on('complete', function () {
Expand Down

0 comments on commit 7021b6c

Please sign in to comment.