Saturday, October 29, 2011

Django: Amount of queries in each test


Django-Dynamic-Fixture 1.4.0 has bugfixes and new features:

- Report with the amount of queries executed in each test method: manage.py test --with-queries
- Count how many queries are executed in the insert and update of a model instance (this can change according to listeners, override of the method save etc): manage.py count_queries_on_save

http://code.google.com/p/django-dynamic-fixture/

No comments:

Post a Comment