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 1. Run pip install django-live-profiler 2. Add ‘profiler’ app to INSTALLED_APPS 3. Add ‘profiler.middleware.ProfilerMiddleware’ to MIDDLEWARE_CLASSES 4. 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
File details
Details for the file django-live-profiler-0.0.5.tar.gz
.
File metadata
- Download URL: django-live-profiler-0.0.5.tar.gz
- Upload date:
- Size: 63.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d6dce3f4f6aa0ae759429651046f1e4bdda635eac4c0cd099d1b57c41e29c958 |
|
MD5 | 77ee5b0a30e65ce2efdc9bd57f72e060 |
|
BLAKE2b-256 | d658380a767f29273076415decdf0c688fd3d734d1c4c4d97b911b75d64be9a3 |
Provenance
File details
Details for the file django_live_profiler-0.0.5-py2.7.egg
.
File metadata
- Download URL: django_live_profiler-0.0.5-py2.7.egg
- Upload date:
- Size: 73.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2da32b8ea562d215f6c046c648b3ca2328505709e8d6ca3f02689e97fc299d9b |
|
MD5 | 4e3613acd1f09d1d70261e18a06e9060 |
|
BLAKE2b-256 | f6e2901b423573136a901bc2816fb5e6239e02eb8763179204e6e93095ba01d2 |