#23372: Test suite initial database construction is too slow
--------------------------------------+----------------------
Reporter: manfre | Owner: nobody
Type: Cleanup/optimization | Status: new
Component: Testing framework | Version: 1.7-rc-3
Severity: Release blocker | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------------+----------------------
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.
https://github.com/django/django/blob/master/django/core/management/commands/migrate.py#L292
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.
--
Ticket URL: <https://code.djangoproject.com/ticket/23372>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/049.bc659172e694c602bd0a125d214f8e49%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.