4👍
✅
OK, so to answer my own question, I found out it was actually just bad default settings for the MySQL installation. I ran over this script called MySQLTuner and it showed me some variables I should change. After following it’s recommendations the tests finish in normal times again.
2👍
According to this TechCrunch article: Nine Things You Should Do After Installing OS X Lion, Lion is re-indexing your files. Leave it alone for a good few hours.
👤Kit
- [Django]-Test failures ("no transaction is active") with Ghost.py
- [Django]-Django 1.9: Should I avoid importing models during `django.setup()`?
- [Django]-Django on CentOS
- [Django]-Django invite code app recommendation?
- [Django]-How to create a specific if condition templatetag with Django?
0👍
Following link may help >> http://www.stereoplex.com/blog/speeding-up-django-unit-test-runs-with-mysql
I config /etc/my.cnf with this suggestion, and Django runs fast!
[mysqld]
skip-sync-frm=OFF
- [Django]-How to use math remainder in django template?
- [Django]-How to add a new instance of Django model with FileField by ModelForm?
- [Django]-Django Channels 2.0 channel_layers not communicating
- [Django]-Adding hours and days to the python datetime
- [Django]-Modified Django admin clean() method not being invoked
Source:stackexchange.com