Early Access Program

PyCharm 4.5 EAP build 141.988: Introducing Python Profiler

Today we’re glad to let you know that the third PyCharm 4.5 EAP build 141.988 is ready for your evaluation. Please download it from our EAP page.

Just as always, this EAP build can be used for 30 days after its release date and it doesn’t require any license.

Comparing to the previous EAP builds, this one mostly includes a consolidation of fixes for various bugs and problems, and improvements for recently added features. Among them are various IPython Notebook integration fixes and fixes for the python formatter. For the detailed list of notable changes and improvements, please check the Release Notes.

The most notable brand-new feature in this build is the Python Profiler Integration which is available right away from the toolbar or Run | Profile…:


This special profiler configuration starts your application with your current run/debug configuration and attaches the python profiler to it. If you have a yappi profiler installed on your interpreter, it starts with it by default, otherwise it uses the standard cProfile profiler as shown on the screenshot above.
By clicking the Capture Snapshot icon on the profiler console you can get the detailed statistics on functions within your code and view the call graph as well as navigate to the function definition:


Another notable new feature in this build is “Step into my code” which is available from the debugger:


This feature helps you avoid stepping through library sources and lets you stay focused on your own code.

Please take PyCharm 4.5 EAP build 141.988 for a spin! We hope that there will be no major issues, however, should you encounter any problems, please report them to our public tracker.

You can download the build or use the patch-based upgrade to upgrade from within the IDE (from previous PyCharm 4.5 EAP builds only) without a full re-installation. Just make sure you’ve selected the EAP channel in update settings.

Stay tuned for PyCharm 4.5 release announcements, follow us on twitter, and develop with pleasure!

-PyCharm team

Comments below can no longer be edited.

17 Responses to PyCharm 4.5 EAP build 141.988: Introducing Python Profiler

  1. Avatar

    Marcus says:

    May 6, 2015

    Hi! Why is the code analysis so slow in all 4.5 EAP realeases? (more specifically, the inspections)

  2. Avatar

    Yury V. Zaytsev says:

    May 6, 2015

    Hi Dmitry, this is mind blowing! Are you working on a square map view in addition to the call graph? If not, is it worth opening a Youtrack ticket for that? I often find square maps much easier to grok than the color coded call graphs. Thanks!

    • Avatar

      Dmitry Filippov says:

      May 7, 2015

      Hi Yury, no we aren’t. We implemented the initial profiler integration and are going to continue working on it.
      It’s great idea to open a new Youtrack ticket for that, so please do.

  3. Avatar

    Siavash says:

    May 7, 2015

    Great new features,
    However I tried to profile a program using remote debugger and it failed with this error:

    ClassCastException: com.jetbrains.python.debugger.remote.PyRemoteDebugCommandLineState cannot be cast to com.jetbrains.python.run.PythonCommandLineState

    • Avatar

      Dmitry Filippov says:

      May 7, 2015

      Remote profiling isn’t supported in this EAP but we’re working on it.

  4. Avatar

    Nik Molnar says:

    May 13, 2015

    Yes, this is awesome! Thanks for adding profiler support!

  5. Avatar

    Hesham Elmahdy says:

    May 28, 2015

    Hi Dmitri.

    I have PyCharm 4.5.1 but i cannot see the Python Profiler Integration under Run menu. I installed yappi and still cannot find the profiler. This page is titled EAP, which I thought is no more valid as 4.5 is already released.

    Please help.

    • Avatar

      Dmitry Filippov says:

      May 31, 2015

      Hi Hesham,

      which PyCharm edition are you using? Python profiler is available only in PyCharm Professional Edition. It should be available under Run | Profile

  6. Avatar

    Thomas Güttler says:

    June 12, 2015

    Nice feature. Profiling is important.

    Here is an idea how to even improve it: https://youtrack.jetbrains.com/issue/PY-16191

    Please highlight “my code” vs “library/framework” code in the stat table of the profiling output.

    Most of the time I am interested in: “Where is **my** slowest line?”

    • Avatar

      Dmitry Filippov says:

      June 15, 2015

      Hi Thomas, thanks for the valuable suggestion.

  7. Avatar

    Oleg Melnikov says:

    August 8, 2015

    Dmitry, the link you provided takes me to version 141.1899 (Pro and CE). I already have the CE installed. Unfortunately, I do not see the integrated profiler button or Run|Profiler menu option. Is this some other version of PyCharm or do I need to explicitly enable this feature in the IDE?

    It’d be great to work with visual profiler you have posted earlier. Please assist, if you can.

    • Avatar

      a h says:

      October 31, 2015

      Dmitry Filippov says:
      May 31, 2015 at 2:58 pm
      Hi Hesham,

      which PyCharm edition are you using? Python profiler is available only in PyCharm Professional Edition. It should be available under Run | Profile

  8. Avatar

    Carl says:

    July 28, 2016

    Is the profiler available in IntelliJ with the Python plugin?

    • Avatar

      Dmitry Filippov says:

      August 2, 2016

      It should be available in the plugin for IntelliJ Idea Ultimate

  9. Avatar

    Hanan Shteingart says:

    August 10, 2017

    How about memory profiling?
    How can I tell what peaks my memory in the app?

Discover more