Line-by-line profiling for Python
Why do you think that https://github.com/pythonprofilers/memory_profiler is a good alternative to line_profiler
Line-by-line profiling for Python
Why do you think that https://github.com/pythonprofilers/memory_profiler is a good alternative to line_profiler