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.3.tar.gz
.
File metadata
- Download URL: django-live-profiler-0.0.3.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4b3a9ada42186d0b830c4e1329c71644152881bf3273335b36e7c0613c223f57 |
|
MD5 | 1b653ebdd5152457ace7b5af2e1e95cc |
|
BLAKE2b-256 | 3ca91b3a0e96ab82a4b3911d96493e0146d4c64ba8e76daf9994bcda7b11f39a |
Provenance
File details
Details for the file django_live_profiler-0.0.3-py2.6.egg
.
File metadata
- Download URL: django_live_profiler-0.0.3-py2.6.egg
- Upload date:
- Size: 11.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d397acb7fc51f01728a6c007b53ba99e63e40be7178f7fc2a2d8e6b080242ba9 |
|
MD5 | 9158cd818fae5ecfbe4edff6c438ca41 |
|
BLAKE2b-256 | 83c883aa8a9cfba5adeb1c24a8152ad2b4c87dc74daf8d920329d4b92e86e997 |