-
Type: Improvement
-
Resolution: Done
-
Priority: Minor - P4
-
Affects Version/s: 2.1.1
-
Component/s: None
-
None
-
Environment:OS X 10.7 64bit, HDD, standalone mongod
-
Fully Compatible
More than half the time spent during a run of `python setup.py test` on my machine is spent allocating data files – I believe a lot of this is due to many (most?) test cases dropping databases in cases where .remove() or Collection.drop() could suffice.
In my case, running the test suite of 342 tests (current master) took 64 seconds, 37 seconds of which were spent allocating data files. On my laptop with SSD, total time is 55 seconds, 26 of which are spent allocating.