summaryrefslogtreecommitdiff
path: root/speed.js
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2011-12-24 15:33:26 -0500
committerEliot Horowitz <eliot@10gen.com>2011-12-24 15:33:45 -0500
commitae1ecd9c786911f9f1f0242f0f7d702b3e5dfeba (patch)
tree92f8e1649e6f080b251ff5f1763679a72eb59b34 /speed.js
parentdfa4cd7e2cf109b072440155fabc08a93c8045a0 (diff)
downloadmongo-ae1ecd9c786911f9f1f0242f0f7d702b3e5dfeba.tar.gz
bulk move of code to src/ SERVER-4551
Diffstat (limited to 'speed.js')
-rwxr-xr-xspeed.js13
1 files changed, 0 insertions, 13 deletions
diff --git a/speed.js b/speed.js
deleted file mode 100755
index c5aa3a36964..00000000000
--- a/speed.js
+++ /dev/null
@@ -1,13 +0,0 @@
-t = db.fooo;
-t.drop();
-x = { str:'aaaabbbbcc' }
-s = new Date();
-for( var i = 0; i < 100000; i++ ) {
- x.i = i;
- t.insert(x);
-}
-print( (new Date())-s );
-t.ensureIndex({x:1});
-t.ensureIndex({str:1});
-print( (new Date())-s );
-