summaryrefslogtreecommitdiff
path: root/jstests/perf
diff options
context:
space:
mode:
authorclang-format-7.0.1 <adam.martin@10gen.com>2019-07-26 18:20:35 -0400
committerADAM David Alan Martin <adam.martin@10gen.com>2019-07-27 11:02:23 -0400
commit134a4083953270e8a11430395357fb70a29047ad (patch)
treedd428e1230e31d92b20b393dfdc17ffe7fa79cb6 /jstests/perf
parent1e46b5049003f427047e723ea5fab15b5a9253ca (diff)
downloadmongo-134a4083953270e8a11430395357fb70a29047ad.tar.gz
SERVER-41772 Apply clang-format 7.0.1 to the codebase
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");