python performance profiling in pycharm

preview_player
Показать описание
Python performance profiling in Pycharm

Python test performance and measure time elapsed in seconds

Py-Spy: A sampling profiler for Python programs

The advantages of using this sampling profiler are:

* you can test the program while it's running based on the process
* you have top like output
* good visual output save to a image
* working on Linux, OSX and Windows and all python versions: 2.7, 3.3, 3.7
* accurate performance measurement

install

pip install py-spy

usage

py-spy --pid 12345
# OR

---------------------------------------------------------------------------------------------------------------------------------------------------------------
Code store

Socials

If you really find this channel useful and enjoy the content, you're welcome to support me and this channel with a small donation via PayPal.

Рекомендации по теме
Комментарии
Автор

It is not really PyCharm related. PyCharm has his own profilers, so better dont use its name in the title

sgerodes
visit shbcf.ru