-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
'no stats' when profiling numpy on anaconda 3.5 #80
Comments
First, if your program takes only a few milliseconds to run, that may be too fast for vmprof to collect any data at all. Second, vmprof collects only data about pure Python code, but numpy is implemented almost entirely in C, which is why you won't see anything useful with your example. Btw does anyone know of a Python profiler that can look into the C stack? |
Released version doesn't support Python 3.5.1. See #60 |
@methane Thanks! |
@fijal Could you please release the fix? |
I've release the fix |
To be precise: I've release the mentioned pull request, but not the fix for this issue, will reopen that one |
I have tried the same script now with 0.4.3 on mac os x 10.12.3. It revealed an issue on mac: a signal is delivered after vmprof.disable() is called (which terminated the program with SIGPROF). The signal handler is now set to SIG_IGN (signal ignore) which passes. I'm trying to find a better solution though. Here is the native profile: |
Okay I seem encountered this issue, tired with python 3.5.1 or 3.6.1 both not working.
Is this a related problem? Stuff in xx.py
|
it seems that 100 iterations is not enough for a single signal to occur. I get the same issue, try to run at least 1000 iterations... |
…isplay a profile that really has not point in looking at)
It now displays the following (the warning is only displayed if the profiling took less than 1 second):
|
Profiling the following script:
Produces:
Mac OSX 10.11.5
Anaconda 3 - 4.0.0 - 64
vmprof 0.2.7
The text was updated successfully, but these errors were encountered: