summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Pasette <dan@10gen.com>2015-07-22 18:00:52 -0400
committerDan Pasette <dan@mongodb.com>2015-07-22 18:00:52 -0400
commitf6c529d817ad98fe64854cbd8771b0b097cd985d (patch)
tree462ec7e13d4c0fdd8fa234fac8a91f9f71ce08a1
parent03baf82ed2068d3d03d399443867fd446068dcd8 (diff)
downloadmongo-f6c529d817ad98fe64854cbd8771b0b097cd985d.tar.gz
SERVER-19052 warm the cache before perf test
-rw-r--r--jstests/noPassthroughWithMongod/getmore_performance.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/jstests/noPassthroughWithMongod/getmore_performance.js b/jstests/noPassthroughWithMongod/getmore_performance.js
index b0138213c19..810727fba4d 100644
--- a/jstests/noPassthroughWithMongod/getmore_performance.js
+++ b/jstests/noPassthroughWithMongod/getmore_performance.js
@@ -47,6 +47,7 @@ var doTest = function() {
mongod = startMongodNoReset( '--port', port, '--dbpath', dbpath );
sleep(50);
testDB = new Mongo('localhost:' + port).getDB(baseName);
+ func(testDB);
var firstPass = time(func, testDB);
var secondPass = time(func, testDB);
stopMongod(port, 15);