C# Build is slow with SonarQube enabled

Yes, indeed they have! I’ve added this point (increase CPU count) to the The Sonar guide for investigating the performance of .NET analysis, it seems it wasn’t there.

For info, this is what you can expect by further increasing the number of CPUs:

From our experiments, increasing the memory doesn’t help that much, but there can be marginal benefits from increasing RAM as well.