-
django-debug-toolbar
A configurable set of panels that display various debug information about the current request/response.
Identify what queries are being made in your application using django-debug-toolbar and reduce them, or make them more efficient:
-
Scout Monitoring
Free Django app performance insights with Scout Monitoring. Get Scout setup in minutes, and let us sweat the small stuff. A couple lines in settings.py is all you need to start monitoring your apps. Sign up for our free tier today.
-
SWIG
SWIG is a software development tool that connects programs written in C and C++ with a variety of high-level programming languages.
If you’ve tried all of the above and still have a bottlenecked application, you’re probably squeezing too much out of Python and need the speed of another language. But don’t worry, you don’t have to redo your entire application in C or C++. Swig allows you to create modules in C, C++, Java, Go or other lower level languages and import them directly from Python.
-
Depending on the progress of your application, you may want to migrate to another framework faster than Django. Django’s ORM is not exactly the fastest out there, and, at the time of writing, it is not asynchronous. You might want to consider giving sqlalchemy, ponyorm a try.