Since upgrading to plugin version 11.13 the it takes SONAR a long time to process the project. There seems to be a long delay between the output of the last ‘file’ line in the console and the ‘Index file’ line. Probably at least 10 minutes. See following capture from the ‘Console’
Index files
4230 files indexed
No workDir in SonarLint
Configured Java source version (sonar.java.source): 21, preview features enabled (sonar.java.enablePreview): false
Server-side caching is not enabled. The Java analyzer will not try to leverage data from a previous analysis.
3847 source files to be analyzed
The Java analyzer cannot skip unchanged files in this context. A full analysis is performed for all files.
75/3847 files analyzed, current file: [uri=file:/C:/classtip/class/src/classmcs/lib/service/device/CommandDevicePortTerminalIdModify.java]
149/3847 files analyzed, current file: [uri=file:/C:/classtip/class/src/classmcs/gui/designer/DesignerPanel.java]
Just to be sure the issue is coming from 11.13, can your revert to 11.12 and see if the performance issue is no more? This will help a lot in our investigation.
I don’t know what 8.12 and 8.13 are but tried on 11.12 and much faster (over 20 minutes compared to 10 minutes). Also had a colleague try on 11.12 prior to upgrading to 11.13 and then he upgraded to 11.13 and did the sonar analyze again and it is significantly slower, over 2 times as slow. I am sure you can duplicate it yourself also.
Sometimes, it may take some time to investigate these issues, particularly during the summer months. It’s good to hear that version 11.12 does not experience this performance issue in your environment. We will review this soon!
Hi @dandoy, sorry for the late reply - we haven’t forgotten about your report and have been actively investigating the issue you described.
So far, we haven’t been able to detect a significant performance difference between versions 11.12 and 11.13 on our side.
To help us dig deeper, could you please provide:
Full verbose logs from both 11.12 and 11.13 so we can compare them.
Whether the slowdown occurs only during the first project analysis after opening Eclipse, or also on subsequent analyses.
If possible, a minimal project reproducer showing the issue; if that’s not feasible, a description of your project’s structure.
Confirmation that you are not using connected mode.
If you have any other details that might be relevant, please include those as well.
In the meantime, we’ll continue our investigation on our end.
Thanks for your patience!
To give an update @dandoy, I did not yet find the root cause of this issue. Could you also try on the latest 11.14 version that we released, and see if you still notice the slowness?
Could you also tell us the version of Git you are using?