-
-
Notifications
You must be signed in to change notification settings - Fork 91
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve inspections CPU usage #3061
Comments
Thanks for the snapshot, I'll have a look. |
I don't see anything strange, could you clarify in more detail what happens when you are doing what? You talk about opening a project, creating a project, and working on the project, but these are all very different things. This is what I found:
It might be I missed something, could you apply this filter in visualvm before running a sample? |
If CPU usage up to 50-60% is expected then everything working fine. I thought this was a bug on my end because I don't have this issue with large Java projects. |
Yeah I don't know how they manage to do that, but we can have another look for general performance improvements. Note to self: check if |
#3147 partially fixes this, but not completely. |
Hi, I wanted to open a new ticket but saw this one. I have recently updated to 0.7.32 release and IDEA 2023.1.4. I can barely work on my latex Project as it has become extremely slow! when I type a couple of characters it stops responding for 5 to 10 seconds... I have disabled all the language and latex inspections but still have the problem. Also I noticed this happens when I do ctrl+space and want to browse for a file for a figure (autocomplete for file names), I have tried to downgrade my Intellij IDEA to older version but the problem exists. I have no idea how to gather some usefull report for you guys... The only thing that works normal still is building the project. So I guess it has something to do with your plugin. Any idea how can I down grade to an older plugin to check? Mind you I am using an intel core i9 13900k at 6GHz and 64GB ram |
That does sounds like a different issue than this one, but to be sure, it would be really helpful if you could upload a visualvm snapshot as described here: https://hannah-sten.github.io/TeXiFy-IDEA/troubleshooting.html#debugging-performance-issues |
I believe this was fixed by #3147 |
Type of JetBrains IDE (IntelliJ, PyCharm, etc.) and version
IntelliJ Ultimate 2023.1
Operating System
Windows 11 Pro 22H2
TeXiFy IDEA version
0.7.29
Steps to reproduce
Opening the project results in high CPU usage (double or triple of usual usage). Additionally, this also happens while working on the project. I noticed that it is more noticeable when there are more files in the project.
Minimal example to reproduce the problem
Already creating a new empty LaTeX project with the new project window uses more CPU than empty Java projects, for example. As I mentioned, it seems that it is linked to the number of files in the project. The issue still exists when IntelliJ is in power save mode.
snapshot.zip
The text was updated successfully, but these errors were encountered: