<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/55471>55471</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            [clang-tidy] Number of jobs to run simultaneously (-j)
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            new issue
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          silverqx
      </td>
    </tr>
</table>

<pre>
    I'm missing `-j` command-line option to tell `clang-tidy` how many processes it can create, currently it uses all available cores which means it freezes the whole system. The OS is unresponsive and unusable during the analysis.

This problem is more significant on bigger projects because the analysis will run longer. Would be really helpful to have an option that controls the number of allowed jobs.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxVUsGOmzAQ_Rq4jILAgSQcOOx2VamX9tCVejZ4wI6MnXrspPTrO2bbbSshY4_fvHlvxqNX2_CpEOcVVkNk3ALFqT5ceYHJr6t06mCNQ_C3aLyD6CGitRk0WemWQzRqy2DtH8DoDW7BT0iEBCbCJB1MAWXEQnyAKYWALtotX6UMkUwl79JYOVrkgoFjD20mDStKt1PMAfEnh6NGvvIMo40irhW8cuTLVzAEyXHizTsydwSWzIFEO6VKIXvKydJJu5GhqqhfivrpbX3VnM6SGbtmppUlAJnFmdmw-AjseTTLgiGjrjhFghEnyer_I4WHYSshObDeMbqCbz5ZxVhg-5Yta7S3OdncQS13me891ZI75V0M3r75dGkduaKfc4P8AxVc_UhVqYaj6o-9LKOJFoeie_5nCN0LfH7Py_hcKisisyYbpUOfiIUU4sLzFX2Zgh10jDcqjk-F-MjfYqJOY8WD54O19z-_w2_vfORHkpB403XtuSn10LedOo1N3aDslFIzouiwn7u6baWcj3PJs0VLWWwhhMMH7BS8Z8WlGUQtRN01XdM0fXup6knO7VgfT2d5qS-tKNoaV34gVdZR-bCUYdgljWkhvrSGIv29lJSHh3tvMr9MUfswkLF3DN9_lHvtYdf-C1zRBlI">