Our great sponsors
-
Maybe look at https://github.com/jazzband/django-silk
-
django-debug-toolbar
A configurable set of panels that display various debug information about the current request/response.
https://github.com/jazzband/django-debug-toolbar is also pretty good, but down to personal preference which of the 2 you choose (I prefer silk).
-
Sonar
Write Clean Python Code. Always.. Sonar helps you commit clean code every time. With over 225 unique rules to find Python bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work.
-
If you are using PostgreSQL you can enable logging of slow queries and connect to the server with pghero (https://github.com/ankane/pghero) and check top queries by the number of requests and total usage time. Also, you can just enable logging of queries in Django, and on each request, you will have a list of queries on development, sometimes it's just a missing select_related of prefetch_related to increase performance, or you need to create a complex index.