Skip to content
This repository has been archived by the owner on Jun 9, 2020. It is now read-only.

Line profiler not showing complete stats #141

Open
talhaanwarch opened this issue Mar 9, 2019 · 3 comments
Open

Line profiler not showing complete stats #141

talhaanwarch opened this issue Mar 9, 2019 · 3 comments

Comments

@talhaanwarch
Copy link

talhaanwarch commented Mar 9, 2019

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

@Nodd
Copy link
Contributor

Nodd commented Jun 23, 2019

Does your code actually run the test function when you run it without kernprof ?

@AstroMen
Copy link

AstroMen commented Jun 26, 2019

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.

image
image

@Nodd
Copy link
Contributor

Nodd commented Jun 28, 2019

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 ?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants