Re:Django project optimization guide – Part 1
by avelis on Tuesday June 20, 2017 @10:40AM
(#14594981)
I help maintain django-silk. I wasn't the original creator but that person has virtually no time to maintain it.
I wanted to take a moment here and tell the HN community thanks for all the contributions/support the library has received to continue along. It can definitely use all the support it can get. Silk has so much potential but works as a free tool for many.
Re:Django project optimization guide – Part 1
by Alex3917 on Tuesday June 20, 2017 @11:12AM
(#14595203)
Silk is great for making sure queries aren't run multiple times unnecessarily, but definitely don't run it is production. There are a lot of subtle threading issues that, as far as I know, haven't quite gotten resolved.
To add, if using Django Debug Toolbar, there is a line_profiler [1] extension for it: https://github.com/dmclain/django-debug-toolbar-line-profile...
[1] https://github.com/rkern/line_profiler