#23372: Test suite initial database construction is too slow
--------------------------------------+------------------------------------
Reporter: manfre | Owner: nobody
Type: Cleanup/optimization | Status: new
Component: Testing framework | Version: 1.7
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------------+------------------------------------
Comment (by RobertPeters):
I have an application in 1.7 that I have been building for a while. I have
about 75 migrations. When I run
{{{
python manage.py test
}}}
with SQLite, it takes about 30 seconds to create the test database. In 1.6
this was almost instant (in fact, I just confirmed this. I ran my tests in
an old environment at 1.6 and the test database was created instantly. I
ran "pip install django --upgrade" and re-ran the tests. It took 30
seconds to create the test database).
I don't know if my issue is the same as this issue (being as I'm not using
MSSQL Server), but I'd just like to add that there appears to be a
significant slow down when going from 1.6 to 1.7, regardless of the
database type.
I'm using "django.db.backends.sqlite3" on Windows 7 64-bit with a Core i7
processor and 8 GB ram.
--
Ticket URL: <https://code.djangoproject.com/ticket/23372#comment:9>
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/064.b13df32ba28ce8d37b8b28dddf8acbbc%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.