Profiling Django Templates

Last updated 1 year ago by Saul Shanabrook

django

I have recently been having trouble getting image resizing to perform well in Django. That is for another post, but the basic scoop is that I have a view that displays 40+ django imagefields and accesses their dimensions. This was taking around 6 seconds to render. I tried tracing it, and I could see it was hitting the storage backend a lot, hitting

S3Boto because I use Amazon S3 for my storage. However I couldn’t tell what exactly was hitting the storage.

Read full Article