Performance: Enable Concurrent Analyses¶
By default, the analyses in CodeScene are executed serially. That is, an analysis starts once the previous one has completed. The rationale for the default behavior is to let CodeScene work well on limited hardware; the analyses might consume plenty of memory and CPU.
However, if you have enough hardware capabilities available, then you can run more analyses in parallel and optimize the overall analysis time.
Enable Concurrent Analyses¶
As an admin, go to the top level Configuration tab as shown in Fig. 149.
Note that a change setting requires a restart of the CodeScene service in this case (yes, we’re sorry!).
You also have to make sure you have enough system resources to execute incoming CI/CD delta analysis requests that will be processed in parallel to the analyses as well.