Closed yaroslavvb closed 7 years ago
You can run vprof
in remote mode (if that's what you need)
vprof -r
from vprof import runner
def foo(arg1, arg2):
...
runner.run(foo, 'cmhp', args=(arg1, arg2), host='localhost', port=8000)
If that is not what you need, can you describe feature you requesting?
vprof
is webapp, so you can set host name and port number of the server with -H
and -p
flags respectively
vprof -c c example.py -H localhost -p 12345
It would be useful to have vprof launch server that listens for external connections. Similar to what jupyter allows. I'd like to launch it a devbox connected to firewalled LAN, so security is not an issue