I have a django project on django 1.6. It's using django-nose and it's using sqlite3's :memory: trick:
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': ':memory:',
}
}
Before I added `south` to INSTALLED_APPS it would take about ~5 seconds to run the 371 tests.
So I add `south` to INSTALLED_APPS (and make sure django_nose is mentioned last) and I also set SOUTH_TESTS_MIGRATE=False (meaning I can put things in the the 0001_initial.py files and it doesn't get executed).
Now it takes ~50 seconds to run the whole test suite. That's 10x times slower! :(
I ran the tests with nose-timer and it basically seems every test now gets a lot slower. You can compare
https://gist.github.com/peterbe/34c9b14028d63429491c with
https://gist.github.com/peterbe/9202c20edee964a370d3Anybody know what's causing South (1.0.2) to make everything so much slower?