SonarLint for Eclipse: slow synchronizing at start

Please provide

  • Operating system: Windows 10
  • Eclipse: 2022-12
  • SonarLint plugin version: 10.0.1.81733
  • Programming language you’re coding in: Java, Javascript, TypeScript
  • Is connected mode used:
    • Connected to SonarCloud

And a thorough description of the problem / question:

After updating SonarLint from 7 to 10.0.1.81733 during starting Eclipse we see the ‘Synchronizing projects…’ for multiple minutes.
The workspace contains >200 projects, most of them belong to the same SonarCloud project.

When enabled verbose logging I see:

GET https://sonarcloud.io/api/components/tree.protobuf?qualifiers=FIL,UTS&component=[hidden for privacy]&organization=[hidden for privacy]&ps=500&p=1
....
GET https://sonarcloud.io/api/components/tree.protobuf?qualifiers=FIL,UTS&component=[hidden for privacy]&organization=[hidden for privacy]&ps=500&p=21

And this is repeated for EACH of > 200 projects.
Maybe it’s the reasons of the slow synchronization. If possible it would be nice to load the info only once for a given component.

Now 21 GET request is issued * 200 times.

Could you please improve the performance of SonarLint synchronization?

Hello @lrozenblyum,

thank you for raising this issue. We were already aware of this and it was fixed with THIS ticket and will be part of this month’s release alongside other fixes.

In the meantime, if this is impacting your workflow too much, please downgrade to SonarLint 9.3 via the Eclipse Update Site.

I will keep you posted once the release is out for you to update once again (via our default Eclipse Update Site or the Marketplace Client, whatever you use).

Best,
Tobias

1 Like

Thanks for the fast response and the workaround!