Use line_profiler without magic
When debugging performance issues, I usually rely on the good old line_profiler. It’s very useful to easily identify which lines of a specific function are slow and needs to be investigated and/or fixed. Using it is straightforward, you basically add the @profile decorator on the function you want...
[Read More]