Created
October 3, 2014 00:13
-
-
Save goopi/2460f96376021874e3c0 to your computer and use it in GitHub Desktop.
Profiling Django using runprofileserver and QCacheGrind
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ # install QCacheGrind (KCacheGrind) | |
$ brew install qcachegrind | |
$ brew install graphviz | |
$ brew linkapps | |
$ pip install django-extensions | |
$ # run profiling server | |
$ ./manage.py runprofileserver 0:3000 --kcachegrind --prof-path=path/to/profiles | |
$ # open QCacheGrind to analyze the profile data | |
$ qcachegrind path/to/profiles/profile_name.prof |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment