-
-
Notifications
You must be signed in to change notification settings - Fork 28
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
IDE File explorer is very slow #424
Comments
Thanks for opening your first issue here! Be sure to follow the issue template! |
Performance is not something I am great at. I tried using caching as much as I can but yeah, it's definitely slower than without the plugin. Check if you have the "Low Power Mode" option turned on. |
@mallowigi I tried both with this setting on and off, but the slowness is just too much for me. I'm now using |
Well since there are many associations it need to check, maybe it takes some time ? I myself often work with projects with more than 10K files, it's not snappy yes but not to the extent of being unbearable... Also, do you experience it for all projects, or for projects of a certain type only? |
I experience it with all projects, however the larger the project, the worse the performance. Sometimes when I reset the IDE it works decently, but after switching between projects or updating many files (git pull, for example), the performance degrades |
Yeah no, I realized a performance degradation, but not to the point of using seconds... Are you using specific features? Custom Associations? What other plugins are you using? |
I didn't tweak any config. Other plugins:
|
toda haver. I'm not sure I'll be able to find a solution but i'll try anyway. |
No problem 🙂
Thanks for trying!
…On Wed, 25 Oct 2023 at 18:23 Elior Boukhobza ***@***.***> wrote:
toda haver. I'm not sure I'll be able to find a solution but i'll try
anyway.
—
Reply to this email directly, view it on GitHub
<#424 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACA5YFVCNMFSJSDDPYNI7CLYBEVHLAVCNFSM6AAAAAA6O22K7KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONZZGUZDMOJYGE>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
This PR has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
I also have this issue, I don't even know why. I'm on Apple M1 Max 64GB, there is something really wrong here. Will uninstall for now but will install again if you want me to test anything. PHPStorm issue identifying this plugin is 2 years old: https://youtrack.jetbrains.com/issue/IDEA-291684/Sidebar-works-very-slow |
I've also noticed an extreme performance impact. I even blamed PhpStorm for being slow but then somebody told me that this plugin is the cause of it and after disabling the the plugin, it's super fast to navigate to files. See https://youtrack.jetbrains.com/issue/WI-74977/Improve-performance-of-Select-Opened-File |
The same situation. Only today I figured out the problem, I thought it was an IDEA (ntfs <-> ext4 wsl) problem. I discovered that in addition to this, the plugin greatly affects the CPU, about 20-30% of i7-10700KF |
Same applies to my setup. I got here from IntelliJ support ticket, they checked my CPU profile and told me to disable this plugin. As it was previously 6-15s to create a file, I feel blissful after disabling this plugin now. |
#Maybe it is a specific icon? Do you have a project I can reproduce? |
any huge project, for example https://github.com/organicmaps/organicmaps/ and then work on it for some hours like create a file, delete it again... and after a while it becomes really slow |
Right, that's for sure a clue, that you need to have a project opened for a while. Maybe a memory leak? Here are details on how to enable a profiler in IntelliJ: From CPU usage support was able to find the reason behind the slowdown, so it may be a valuable hint. And here is a video on how slow it becomes: https://jbs.zendesk.com/attachments/token/zmMMdyIUtljcl8gsxc4dulwlc/?name=Screencast+from+2024-03-11+10-24-30.webm |
https://youtrack.jetbrains.com/issue/IDEA-317983#focus=Comments-27-9501784.0-0 Thinking about it now, maybe it is the problem with the fact that upon expanding the directory the plugin has to check the content of other directories to properly assign a directory icon and that takes time. In our big PHP project, after I disabled the folder icons everything now works smoothly and without any noticable delay, so I would focus on this part. |
Funny enough I'm experiencing this in the 2024.2 EAP, but not in the RC... |
I've noticed extremely slow sidebar especially when using the
|
@mallowigi Right now the plugin just loads the icons whenever it needs it right? In a CPU snapshot, the In the docs they use a object for the icons. What if you load all the default icons like that and the file path then maps to the property? Or; Is it not possible to load the icons async after the files are already visible? Sorry if I'm saying things you already tried or are not possible, I don't have a lot of experience with Intelij plugin dev ^^ |
Not sure what is causing the slowness. I have the feeling that now the IDE doesn't load all the project files but only the first level, then load new icons whenever a folder is opened. Since the native IDE doesn't have a FileIconProvider, it doesn't need to parse the filename and fetch the icon so it's faster. But that doesn't explain why navigating to the file when clicking on "select opened file" takes ages, it's as if it is doing something else synchronically before showing the file... very unusable. I've already optimized by keeping a cache of filenames <--> icons when an icon is fetched but like I said, it's unrelated to the same problem. It's not the icon loading, it's the file navigation. I need to understand what is slowing this. |
It would be amazing as this could get fixed somehow by someone with good knowledge of it with regards on performance, as this is truly the best and nicest and most colorful icon pack for Jetbrains. Can't find any good alternative, but it is a bit a shame that other packs are fast and this awesome pack not. So if there are any Jetbrains plugin specialists out there for a challenge... :) |
What other packs? |
@mallowigi Catppuccin Icons or Extra Icons work without any performance issues |
Yes, I tried them yesterday and they are fast, so it should be possible to have a fast pack. However, I am super used to the colors of this package right now, and all other packages look super-dull (Catpuccin is the second best, but it is a bit too dull/pastel). |
I'll try to see how they implemented it, maybe they are using techniques that I don't know about. |
Thank you! |
Describe the bug
While the icons looks great, the IDE becomes very slow while using this plugin. The file explorer takes ages to "lock" on a file when the
Select Opened File
action is triggered. Also, when creating new folders/files, it takes a very long time before we see it refreshed in the file explorer.To Reproduce
Expected Behavior
File explorer updates should be snappy.
Environment
Plugin version is 93.1.0
Screenshots
The text was updated successfully, but these errors were encountered: