Mac OS, or Linux machine (untested on windows)
A line_profiler fork is needed to run this extension.
pip install https://github.com/iddl/line_profiler/zipball/master
The default, /usr/bin/python
, works for small tests.
However it might be the case you're using virtualenvs and/or running code from a virtual machine.
Example setting of running profiler from a virtual environment in a VM:
ssh, vagrant@192.168.34.10, -t, /home/user/project/venv/bin/python
This will show an editor with a Run
button.
Use the profile
function to run a profile on your code.
The end product should look something like
Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.