a-file-icon-idea: IDE File explorer is very slow
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
- Enable the plugin - The larger the project, the slower it gets
- Try to “scope” a file (CMD + F1) or to create a new file
Expected Behavior
File explorer updates should be snappy.
Environment
PhpStorm 2023.2.3
Build #PS-232.10072.32, built on October 13, 2023
Runtime version: 17.0.8.1+7-b1000.32 aarch64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
macOS 14.0
GC: G1 Young Generation, G1 Old Generation
Memory: 16000M
Cores: 10
Metal Rendering is ON
Registry:
editor.focus.mode.color.light=415967
ide.editor.tab.selection.animation=true
debugger.new.tool.window.layout=true
ide.animate.toolwindows=true
run.processes.with.pty=TRUE
ide.new.editor.tabs.vertical.borders=true
ide.experimental.ui=true
ide.balloon.shadow.size=0
editor.focus.mode.color.dark=415967
typescript.service.node.arguments=--max_old_space_size=12000
Non-Bundled Plugins:
org.intellij.plugins.hcl (232.8660.88)
com.github.copilot (1.3.2.3479)
org.jetbrains.plugins.go-template (232.9921.89)
com.github.camork.fileExpander (2.3)
com.intellij.kubernetes (232.10072.33)
ru.adelf.idea.dotenv (2023.2)
com.chrisrm.idea.MaterialThemeUI (8.12.6)
com.intellij.lang.jsgraphql (4.0.2)
zielu.gittoolbox (500.0.21+222)
mobi.hsz.idea.gitignore (4.5.2)
Plugin version is 93.1.0
Screenshots
About this issue
- Original URL
- State: open
- Created 8 months ago
- Reactions: 4
- Comments: 18 (5 by maintainers)
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.
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
I experience it with all projects, however the larger the project, the worse the performance. When I say “unbearable”, I mean seconds. It sometimes takes 5-15 seconds - that’s unusable for any real-life work (IMO)
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