line_profiler
line_profiler copied to clipboard
Line profiler not showing complete stats
Greetings. I am bit confused how to use line profiler, when i run following command in anaconda prompt , it just show me the following output
kernprof -l test.py
python -m line_profiler test.py.lprof
screen shot is attached http://prntscr.com/mvnbnr
May be i am doing some mistake. Waiting for your response
Does your code actually run the test function when you run it without kernprof ?
Hi @Nodd , I also encounter the same issue, not completed results as below. Part of code works, part of code doesn't work. What should I do for this case? Thanks.

I think it's likely that the code doesn't run. Maybe it crashes on logger.info because the environment in kernprof is slightly different than the standard interpreter ? is there any traceback in the console ?