Skip to main content

Track your Django models.

Project description

Django-tracker

dj-tracker is an app that tracks your queries to help detecting some possible performance optimisations listed in Database access optimization.

Features

  • Detailed field usage of model instances
  • Report unused fields in a model instance and provides hints on when to use .defer and .only
  • Report model instance attributes access and provides hints on when to use .values or .values_list
  • Report cache hits and provides hints on when to use iterator
  • Provides hints on when to use .count, .contains, .exists
  • Detect N+1 queries
  • Detect when a deferred field is loaded
  • and many more insights into your queries....

Requirements

  • Python: >=3.8
  • Django: >=3.2

Getting started

Check out the installation steps.

Documentation

All documentation is in the "docs" directory and online at https://tijani-dia.github.io/django-tracker/

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

django-trackings-0.0.2a0.tar.gz (24.2 kB view details)

Uploaded Source

Built Distribution

django_trackings-0.0.2a0-py3-none-any.whl (31.3 kB view details)

Uploaded Python 3

File details

Details for the file django-trackings-0.0.2a0.tar.gz.

File metadata

  • Download URL: django-trackings-0.0.2a0.tar.gz
  • Upload date:
  • Size: 24.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.2

File hashes

Hashes for django-trackings-0.0.2a0.tar.gz
Algorithm Hash digest
SHA256 971f09d8709b899f130228a9fb0eb987fc20caf38d5a926b763c4b7e6b76c248
MD5 40b51f55bbd9dce57cb7460126caa6a2
BLAKE2b-256 876215d195b14c9cd36638d16708a7b7cabfd939e65a5d266ccead49065c892e

See more details on using hashes here.

File details

Details for the file django_trackings-0.0.2a0-py3-none-any.whl.

File metadata

File hashes

Hashes for django_trackings-0.0.2a0-py3-none-any.whl
Algorithm Hash digest
SHA256 9c8e1acd7c4f7eca1234374c1efdd445860e4ae083dfab244d1caa5b03e31970
MD5 792034a2677e4f96c87953db31fdd7c6
BLAKE2b-256 8e58385853434f6380c0dde983990d4f5255a3949519f13be3a6ca108be6dced

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page