I have a moderate size website but it takes about 30 seconds for PyCharm to start Runserver and be ready to run the app. If I "Run" the app instead of "Debugging" it will only take about 3 seconds to start.
What are some of the things I can do speed up the code change and debugging cycle. I am using a decent MBP with 16Gb of RAM. So hardware is not the issue.
I have excluded /media files from the project. I don't any other large number of files that will cause indexing problems I am using both Postgres and Mongo db. I am running Django 1.7 + a dozen of packages like:
dj-static==0.0.6 django-annoying==0.8.1 django-appconf==1.0.1 django-bootstrap-form==3.2 django-bootstrap-pagination==1.5.1 django-compressor==1.5 django-extensions==1.5.5 django-filter==0.10.0 django-guardian==1.2.5 django-storages-redux==1.2.3 django-widget-tweaks==1.3 djangorestframework==3.1.2 django-jinja==1.4.1
This is debug output:
/Users/user1/.virtualenvs/env-test/bin/python "/Applications/PyCharm 4.5 EAP.app/Contents/helpers/pydev/pydevd.py" --multiproc --save-signatures --client 127.0.0.1 --port 64097 --file /Users/user1/gitroot/website1/manage.py runserver 0.0.0.0:8000 --verbosity 2 Connected to pydev debugger (build 141.1245) pydev debugger: process 63926 is connecting pydev debugger: process 63954 is connecting Performing system checks... System check identified no issues (0 silenced). You have unapplied migrations; your app may not work properly until they are applied. Run 'python manage.py migrate' to apply them. June 03, 2015 - 09:08:52 Django version 1.7.7, using settings 'myproject.settings' Starting development server at http://0.0.0.0:8000/ Quit the server with CONTROL-C.
UPDATE: Since this post Pycharm has the ability to use Cython as the interpreter. I think that has improved things somewhat. I also moved to use Runserverplus which I think runs faster.