1

想请教一下为什么我的声纳跑步者已经运行了将近 1 周,导入了 Bullseye 输出的 xml 结果。我们的 c++ 代码库相当大,至少有几百万个代码。

我试图通过做(export SONAR_RUNNER_OPTS="-Xmx3062m -XX:MaxPermSize=512m -XX:ReservedCodeCacheSize=128m ”)。另外,我的 sonar-project.properties 看起来像这样:

sonar.sources=./cplusplus
sonar.cxx.includeDirectories=../../../ThirdPartyTools,../../../shared_3rdParty,../../../NAG_Software,../../../Archive,cplusplus/framework/include,include/

sonar.exclusions= cplusplus/framework/include/boost/*,**/*.doc,**/*.docx,**/*.ipch

sonar.cxx.coverage.reportPath=testAllAppl.xml

sonar.language=c++

testAllAppl.xml 文件包含 Bullseye 的所有结果。我想知道我能做些什么来提高性能 - 根据这里的现有帖子进行多线程处理是不行的。

是否可以在排除项中添加更多内容,或者我是否包含太多代码(./include/ 包含指向所有 boost 库和我们自己的库的软链接)?我还能尝试什么来加快性能?

提前感谢您的友好分享!

4

0 回答 0