Skip to content

Dashboard with various profiling tools suitable for live servers ( version working with yappi 0.62 from pypi )

License

Notifications You must be signed in to change notification settings

i-trofimtschuk/django-profiling-dashboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

django-profiling-dashboard

django-profiling-dashboard provides a dashboard with various profiling tools suitable for use in live servers.

Requirements

Dashboard remplates are based on `Bootstrap<http:https://twitter.github.com/bootstrap/>`_ toolkit.

django-profiling-dashboard requires django >= 1.3 and python >= 2.6.

Installation

Make sure the requirements are installed:

pip install yappi pympler psutil

and install django-profiling-dashboard using pip:

pip install django-profiling-dashboard

Usage

  1. Add 'profiling_dashboard' to INSTALLED_APPS;

  2. include 'profiling_dashboard.urls' in your urls.py:

    urlpatterns = patterns('',
        # ...
        url(r'^profiling-dashboard/', include('profiling_dashboard.urls')),
        # ...
    )
    
  3. visit /profiling-dashboard/

Screenshots

TODO

Notes on CPU profiling in multi-process environment

If there are several server processes then the profiler have to be started and stopped for each process, and the profiling stats will be different for different processes.

In some deployment schemas (e.g. apache proxied by nginx) there is no way to make sure subsequent requests will be handled by the same server process so take this in account while using django-profiling-dashboard.

About

Dashboard with various profiling tools suitable for live servers ( version working with yappi 0.62 from pypi )

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%