Open dshivashankar1994 opened 1 month ago
I'd like to use line_profiler for profiling imports. My aim is to use the line_profiler to identify any global statement that is taking more time.
Is there a way to enable line_profiler by default for the entire module ?
I saw pprofile. But it has the issue - https://github.com/vpelletier/pprofile/issues/54
Check out auto-profiling https://kernprof.readthedocs.io/en/latest/line_profiler.autoprofile.html#module-line_profiler.autoprofile
I'd like to use line_profiler for profiling imports. My aim is to use the line_profiler to identify any global statement that is taking more time.
Is there a way to enable line_profiler by default for the entire module ?
I saw pprofile. But it has the issue - https://github.com/vpelletier/pprofile/issues/54