A database access profiler for Django-based applications that can be ran in production with minimal performace overhead.
Project description
Profile Django-based applications running in production with minimal performance overhead.
##Rationale Profiling web applications on a development environment often produces misleading results due to different patterns in the data, different patterns in user behavior and differences in infrastructure.
All existing DB access profiling solutions for Django seem to be focusing on a single request. However, in the real world certain queries might be negligible in a single request while still puttin a considerable strain the database across all requests.
django-live-profiler aims to solve these issues by collecting database usage data from a live application.
![screenshot](https://github.com/InviteBox/django-live-profiler/raw/master/doc/screenshot1.png)
##Requirements django-live-profiler currently requires MongoDB to store query data.
##Installation
Add ‘profiler’ app to INSTALLED_APPS
Add ‘profiler.middleware.ProfilerMiddleware’ to MIDDLEWARE_CLASSES
Add url(r’^profiler/’, include(‘profiler.urls’)) to your urlconf
Visit http://yoursite.com/profiler/ for results.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for django-live-profiler-0.0.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 00da6fe36a62288aaa44bd3139064f39ccd6072ce74df4e78400c47cf4821457 |
|
MD5 | 65344106808eeb827a4e3589625926d4 |
|
BLAKE2b-256 | 1b658b6300137ccc11a187dd7a76007d92996fdc7327fbab6a91a18de5d0b82f |
Hashes for django_live_profiler-0.0.2-py2.6.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1a0b6596b04b0dd51af94eda634995fe4551f4809cdbab7f154a2fc8b37b20aa |
|
MD5 | faf485420531cc6ae3d18f041729c1cc |
|
BLAKE2b-256 | bbd6eb6779c406a1690ceca989e83411b42692b37e3b39070299de03f6269cb8 |