How to limit CPU Usage for PyCharm?
Answered
Hello!
how to setup processor affinity?
Tnx
Please sign in to leave a comment.
Which CPU usage do you have? If you're experiencing high CPU usage please record CPU snapshot as described here: https://intellij-support.jetbrains.com/hc/en-us/articles/207241235-Reporting-performance-problems and attach it to a new issue in PyCharm issue tracker: https://youtrack.jetbrains.com/issues/PY. Thank you.
Also please check https://youtrack.jetbrains.com/issue/IDEA-116686 and vote for it to increase its priority and be notified about updates.
The guide https://intellij-support.jetbrains.com/hc/en-us/articles/207241235-Reporting-performance-problems references "Help | Diagnostic | Start CPU Usage Profiling" which does not exist on PyCharm. Is there a more recent article for cpu profiling on PyCharm - I'm on subscription and always have the latest version.
Would love to help improve the product by contributing a cpu profile.
My problem: simply typing a new class name puts cpu at > 600% on a beefy macbook pro. Codebase is a Django app ~ 176K lines of python. I have tried default res for my 4k monitor, removed all plugins not provided by JetBrains, and reduced my inspections to only those that I use.
@Steve Tarver
If you have recent PyCharm version (> 2019.2), the diagnostic is managed by "Performance Testing" plugin: https://plugins.jetbrains.com/plugin/7819-performance-testing/
Try installing it if you don't have it.