Faster Python Analysis with Parallelization

We’re excited to announce a new feature that will dramatically speed up your Python code analysis. The SonarPython analyzer now supports parallel analysis, leveraging your system’s processing power to get you results faster than ever.

How It Works

By default, the Python analyzer will automatically try to parallelize the analysis of your files. It uses a smart approach, utilizing up to 90% of your available CPU cores, with a maximum of six threads. This design provides a significant speed boost while leaving some resources for other tasks on your machine.

Customizing or Disabling the Parallelization

For most users, the default settings will be ideal. However, if you need more control, you can customize the number of parallel jobs. This is particularly useful in environments where the analysis shouldn’t consume all available resources, allowing other tasks to run smoothly. You may also want to disable parallelization in some cases like debugging. See our documentation for up to date instructions on customizing or disabling parallelization.

Should you have any feedback for us, please add it below and happy coding!

Jean