Starting from some version Django has a built-in capability for this: ./manage.py test --durations 20 -- show the N slowest test cases
./manage.py test --durations 20