Use PyCharm to view profiling data.

Does anyone know if there is a way to open external .pstat files inside PyCharm for viewing? When I try, they will ask me to select a file type, but it seems that there is no possibility for it (even those that are used for internal profile data).

+7
pycharm cprofile
source share
3 answers

It is also located under Tools-> Open cProfile Snapshot

+14
source share

In PyCharm 2017, the profiler plugin is only available in the professional (non-free) version of PyCharm, and not in the Community version (free and open source).

+2
source share

This worked for me:

  • settings goto-> Keymap-> Plug-ins-> Python Profiler-> Open Cprofile Snapshot

  • assign some shortcut to this action

  • try running this shortcut and open the pstat file

+1
source share

All Articles