Camelcade / Perl5-IDEA

Perl5 plugins for IntelliJ IDEA
Other
409 stars 75 forks source link

High CPU Usage when perl files are open #2505

Open halaei opened 2 years ago

halaei commented 2 years ago

I'm working on a large project. When I open any perl file, IDE consumes a lot of CPU, 4 cores, without me doing anything. The CPU usage never drops until I close the file. I know it's a very wage bug report, but I put it here to see if others have the same problem. Let me know how can I debug it or make it easy for you to reproduce.

IDE: PyCharm 2022.2 (Community Edition) Build #PC-222.3345.131, built on July 27, 2022 Runtime version: 17.0.3+7-b469.32 aarch64 VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o. Perl5 plugin version: 222.2964.55-EAP-SNAPSHOT OS: MacOS Monterey 12.3.1

hurricup commented 2 years ago

I presume you can't share the project?

halaei commented 2 years ago

Hi @hurricup I will check with company what can I share.

hurricup commented 1 year ago

any updates?

halaei commented 1 year ago

Still the same issue, but I didn't have chance in reproducing for public. Is there some way for me to inspect the plugin to see what it is doing that takes so much CPU? Like flame graph profiler for example or run it in debug mode?

hurricup commented 1 year ago

you may take a yourkit profiler try to record a profiling session. Still it may be code-dependent. Some specific stuff can cause this. But we can try. https://www.yourkit.com/