Test suite initial database construction is too slow
|Reported by:||manfre||Owned by:||nobody|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
On my primary development system (Intel i7 quad core with SSD drives), it takes nearly 20 minutes to get from executing runtests.py to the start of the first test. Most of the time (~18 minutes) is spent on the "loaddata" call_command in the migrate command's sync_apps method.
For comparison, using the same test environment and only changing the version of Django (to stable/1.6.x), it takes less than 2 minutes to get to the first test.
Change History (13)
comment:1 Changed 11 months ago by manfre
- Needs documentation unset
- Needs tests unset
- Patch needs improvement unset
comment:12 in reply to: ↑ 10 Changed 7 months ago by MarkusH
- Resolution set to needsinfo
- Status changed from new to closed