[Django]-How to check the performance of a django application?

2đź‘Ť

âś…

pycheesecake.org provides a good source of testing tools for python.

You might also want to checkout django-autofixture, a nice tool for inserting randomly generated data into the database, and django-mockups, which is a fork from django-autofixture.

Here is a sample usage of django-autofixture:

django-admin.py loadtestdata [options] app.Model:# [app.Model:# ...]

You just supply the app name, model and the number of objects that you want to create.

👤gladysbixly

4đź‘Ť

Check out django-dilla. It helps you to spam your database with random data

There’s no real good documentation, but you’ll need to install it and add it to your INSTALLED_APPS, then run python manage.py run_dilla from the command line.

To view the options run python manage.py run_dilla --help which let you specify counts and the apps to “spam”. Check out the command source for implementation details.

👤Sam Dolan

Leave a comment