diff options
author | Eliot Horowitz <eliot@10gen.com> | 2011-12-24 15:33:26 -0500 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2011-12-24 15:33:45 -0500 |
commit | ae1ecd9c786911f9f1f0242f0f7d702b3e5dfeba (patch) | |
tree | 92f8e1649e6f080b251ff5f1763679a72eb59b34 /speed.js | |
parent | dfa4cd7e2cf109b072440155fabc08a93c8045a0 (diff) | |
download | mongo-ae1ecd9c786911f9f1f0242f0f7d702b3e5dfeba.tar.gz |
bulk move of code to src/ SERVER-4551
Diffstat (limited to 'speed.js')
-rwxr-xr-x | speed.js | 13 |
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 );
-
|