Lightweight Django middleware for profiling SQL queries, detecting performance issues, and analyzing request execution.
Project description
ami-djAPI-analyzing
Lightweight ami-djAPI-analyzing for analyzing SQL queries, request performance, and detecting common database issues like N+1 queries, duplicate queries, slow queries, and missing indexes.
It provides detailed profiling information directly in the response headers and API responses.
Features
• Capture all SQL queries executed during a request
• Detect N+1 queries automatically
• Detect duplicate queries
• Detect slow SQL queries
• Detect potential missing indexes
• Analyze database time vs total response time
• Performance score system (A–F grading)
• Track request history
• Capture memory usage
• Generate EXPLAIN plans for slow queries
• Optional step-by-step view execution profiler
• Encrypted performance payload in response headers
Installation
pip install ami-djAPI-analyzing
Project details
Release history Release notifications | RSS feed
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ami_djapi_analyzing-0.1.0.tar.gz.
File metadata
- Download URL: ami_djapi_analyzing-0.1.0.tar.gz
- Upload date:
- Size: 7.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
129cb2f7f1624600e535bd876538417bd8388add60d69b2b2dbce7c9e3750688
|
|
| MD5 |
d34352a00fe781dda21edaccf434feee
|
|
| BLAKE2b-256 |
855f02bffc47790ac47b68a1a3abb30f8a1e482a16bf0d98b7e8a17425558ec0
|
File details
Details for the file ami_djapi_analyzing-0.1.0-py3-none-any.whl.
File metadata
- Download URL: ami_djapi_analyzing-0.1.0-py3-none-any.whl
- Upload date:
- Size: 8.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f5cce19dc142cf29caad33d403e8a38cc350b571a571b49e3bd9eaa56a1ebd6e
|
|
| MD5 |
df6f3aed0c72f68b5f2ea0d863e52a46
|
|
| BLAKE2b-256 |
79d0a3b6f5b73acb55e837c9e46dafc1b473a6e3c31520cb53e5cf17973a4813
|