-
Notifications
You must be signed in to change notification settings - Fork 176
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
FileStatusManager.getStatus is slow after installing the plugin #415
Comments
@nicity How can I access those memory snapshots? Can you please provide me URLs? |
Merged callees
|
@nicity Thanks for the call tree. I played with YourKit regarding the methods call counts, time, etc and fixed a few more things too. From my point of view everything should be fine now - it's released with v2.1.0-RC.1 (available in eap channel (https://plugins.jetbrains.com/plugins/eap/7495) or https://github.com/hsz/idea-gitignore/releases/tag/v2.1.0-RC.1 Can you please confirm that? Is there anything else that should be fixed before new public release? |
Great! |
IDE calls getStatus very-very often, e.g. for every icon rendered in project view so the method should be really fast.
In CPU snapshot attached to https://youtrack.jetbrains.com/issue/IDEA-176946 (private customer issue) 20s of getStatus calculation is spent in
mobi.hsz.idea.gitignore.vcs.IgnoreFileStatusProvider.getFileStatus(VirtualFile).
There are several problems with the method according the snapshot:
The text was updated successfully, but these errors were encountered: