Question

I am using Sonar for code quality control. The project analysis is performed by sonar-runner. Right now, I cannot use the ant or maven tasks.

Problem: The analysis (sonar-runner) Java process is using only 4 processors, even though the machine has 8 processors.

Do you know of a way to configure the number of processors used?

Thanks!

Était-ce utile?

La solution

As said in my previous comment: sonar analysis is mono threaded... I think there is room for improvement in terms of performances here. If this is an important issue for you, my advice would be to ask the sonar core team to make the sonar batch "multi threaded" using the sonar user mailing list. Hope it helps

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top