声纳运行器多线程?

发布于 2024-12-18 12:43:46 字数 331 浏览 5 评论 0原文

我使用 Sonar 进行代码质量控制。项目分析由 sonar-runner 执行。现在,我无法使用 ant 或 Maven 任务。

问题:尽管机器有 8 个处理器,但分析 (sonar-runner) Java 进程仅使用 4 个处理器。

您知道配置所用处理器数量的方法吗?

谢谢!

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!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

转身以后 2024-12-25 12:43:46

正如我之前的评论中所说:声纳分析是单线程的......我认为这里的性能还有改进的空间。如果这对您来说是一个重要问题,我的建议是要求声纳核心团队使用声纳用户邮件列表使声纳批次“多线程”。
希望有帮助

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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文