Django view profiler by Miserlou
https://gist.github.com/Miserlou/3649773/

Originally posted on:
http://gun.io/blog/fast-as-fuck-django-part-1-using-a-profiler/