-
Couldn't load subscription status.
- Fork 748
Profiling
There is no benchmark suite as of May 25, 2015, but there are several ways to profile using python tools.
As with many debug tools, it expected to incur a large performance penalty while running the program.
what-studio/profiling can be used as a remote profiler for python-prompt-toolkit and related projects.
pip install profiling
Example usage:
-
Open two terminal windows
-
(Window 1) Launch application with remote debugger
$ profiling view 127.0.0.1:8912 examples/get-input-vi-mode.py -
(Window 2) Launch profiling screen
$ profiling view 127.0.0.1:8912 -
Use the Arrow keys (up, down, right) and
>to navigate the function calls.
https://github.com/vpelletier/pprofile can also be used to generate profiling output after usage.