django-profiling-dashboard

Software Screenshot:
django-profiling-dashboard
Software Details:
Version: 0.1
Upload Date: 15 Apr 15
Developer: Mikhail Korobov
Distribution Type: Freeware
Downloads: 19

Rating: nan/5 (Total Votes: 0)

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

Installation

Make sure the requirements are installed:

pip install yappi pympler psutil
pip install git+https://github.com/daevaorn/django-query-exchange.git#egg=django-query-exchange


and install django-profiling-dashboard using pip:

pip install django-profiling-dashboard

Usage

 Add 'profiling_dashboard' and 'query_exchange' to INSTALLED_APPS:

 INSTALLED_APPS = (
 # ...
 'query_exchange',
 'profiling_dashboard',
 # ...
 )

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

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

 visit /profiling-dashboard/


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.

Requirements:

  • Python
  • Django
  • yappi
  • Pympler
  • psutil
  • django-query-exchange

Other Software of Developer Mikhail Korobov

Comments to django-profiling-dashboard

Comments not found
Add Comment
Turn on images!