summaryrefslogtreecommitdiff
path: root/jstests/perf
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/perf')
-rw-r--r--jstests/perf/mr_bench.js2
-rw-r--r--jstests/perf/v8_mapreduce.js1
2 files changed, 1 insertions, 2 deletions
diff --git a/jstests/perf/mr_bench.js b/jstests/perf/mr_bench.js
index ea506578d86..c141e112163 100644
--- a/jstests/perf/mr_bench.js
+++ b/jstests/perf/mr_bench.js
@@ -47,7 +47,7 @@ m2 = function() {
r = function(k, vals) {
var tmp = {};
vals.forEach(function(i) {
- if (typeof(i) == 'string') {
+ if (typeof (i) == 'string') {
tmp[i] = true;
} else {
for (var z in i)
diff --git a/jstests/perf/v8_mapreduce.js b/jstests/perf/v8_mapreduce.js
index c2123c89403..46afcf37082 100644
--- a/jstests/perf/v8_mapreduce.js
+++ b/jstests/perf/v8_mapreduce.js
@@ -77,7 +77,6 @@ if (/V8/.test(interpreterVersion()) && db.runCommand({buildinfo: 1}).javascriptE
db.getLastError();
var mrWorkFunction = function() {
-
function verifyOutput(out) {
// printjson(out);
assert.eq(out.counts.input, 51200, "input count is wrong");