Hello All,
We are looking for some options when the sonar scans our code. The initial runtime of our pipeline is ~15 mins but after sonar integration it jumps to ~ 1 hour. Are there any tweaks that can be made to reduce and speed up the process?
Thanks in Advance.
We need your guidance to achieve this without impacting existing pipeline.
1 Like
Colin
(Colin)
January 22, 2024, 12:56pm
2
Hey there.
What language(s) are you analyzing? How large is your project? What environment are you running the analysis in?
The more details you can share, and even analysis logs, the better.
Hi,
We are analyzing C# language and running it in Preprod environment.
Build takes more than an hour, because the solution file has 65 projects.
I am unable to share the Build logs as it is too large.
Colin
(Colin)
February 12, 2024, 2:07pm
4
Here’s a guide that might help you:
This guide is intended to help SonarQube and SonarCloud users investigate .NET analysis performance issues. This effort can lead to:
self-diagnose and fix a performance issue
gather information to open a well-defined topic on this community forum
help SonarSource improve the performance of the products
Before discussing how to investigate performance issues, you should first understand the different steps of the analysis.
Introduction to the SonarSource .NET static analysis
State-of-the-a…