Skip to content
A database access profiler for Django-based applications that can be ran in production
Python JavaScript
Latest commit fe1ccfe Jun 12, 2013 @atereshkin atereshkin Merge pull request #12 from mothsART/master
transition to Django 1.5
Failed to load latest commit information.
aggregate removed unused import Jan 22, 2013
doc Slightly better screenshot Jan 16, 2013
profiler transition to Django 1.5 Mar 23, 2013
.gitignore First draft Dec 14, 2012
MANIFEST.in Include templates and static files Mar 11, 2013
README.rst Removed all the fluff from README as it's now on the website Feb 20, 2013
setup.py

README.rst

django-live-profiler

Django-live-profiler is a low-overhead data access and code profiler for Django-based applications. For more information, check out http://invitebox.github.com/django-live-profiler/

Installation

  1. Run pip install django-live-profiler
  2. Add 'profiler' app to INSTALLED_APPS
  3. Add 'profiler.middleware.ProfilerMiddleware' to MIDDLEWARE_CLASSES
  4. Optionally add 'profiler.middleware.StatProfMiddleware' to MIDDLEWARE_CLASSES to enable Python code statistical profiling (using statprof). WARNING: this is an experimental feature, beware of possible incorrect output.
  5. Add url(r'^profiler/', include('profiler.urls')) to your urlconf

Usage

In order to start gathering data you need to start the aggregation server:

$ aggregated --host 127.0.0.1 --port 5556

Visit http://yoursite.com/profiler/ for results.

Something went wrong with that request. Please try again.