38

Does anyone know if there is a way to open external .pstat files inside PyCharm for viewing? When I try to, I'm being asked to select the file type, but there doesn't seem to be the option for it (even those the view is used for internally generated profile data).

Dmitry B.
  • 9,107
  • 3
  • 43
  • 64

3 Answers3

72

It's also under Tools->Open cProfile Snapshot

Dmitry B.
  • 9,107
  • 3
  • 43
  • 64
7

Since PyCharm 2017, the profiler plugin is available only in the Professional (non-free) edition of PyCharm, and not in the Community (free & open-source) edition.

P-Gn
  • 23,115
  • 9
  • 87
  • 104
1

This worked for me:

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

  • assign some shortcut to this action

  • try to run this shortcut and open pstat file

D. O.
  • 19
  • 2
  • I don't find the python profiler. Is it that it has been removed for PyCharm community edition. Can we not add that library from the python interpreter? if yes what is the name of the library? – Eswar Feb 25 '19 at 07:33