summaryrefslogtreecommitdiff
path: root/speed.js
diff options
context:
space:
mode:
authorAntonin Kral <a.kral@bobek.cz>2012-08-29 20:54:51 +0200
committerAntonin Kral <a.kral@bobek.cz>2012-08-29 20:54:51 +0200
commit83957b73f9177f6e38bd5375bd93ca1f6a47188c (patch)
treef20b7d6ac9a9c64ff5bb6b5910a24abbb356b1d5 /speed.js
parent5071d203970edd4c995493d810abe20987e76fe9 (diff)
Imported Upstream version 2.2.0upstream/2.2.0
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 );
-