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

    <tr>
        <th>Summary</th>
        <td>
            [clang-tidy] Add speed info about each check in 'clang-tidy/checks/list.html'
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            clang-tidy
      </td>
    </tr>

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

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

<pre>
    As for now, user can only understand speed of each check when benchmarking `clang-tidy` analysis himself.
We could create a new column in https://clang.llvm.org/extra/clang-tidy/checks/list.html with speed of each check.
I didn't think much in what form to present it, but for first iteration it could be `SLOW`, `MEDIUM`, `FAST`.

Here is how `clangd` [measures each check](https://github.com/llvm/llvm-project/blob/main/clang-tools-extra/clangd/TidyFastChecks.inc). We could reuse some of the infrastructure from `clangd` to begin with and later build a benchmark framework similar which [clang-static-analyzer has](https://github.com/llvm/llvm-project/tree/main/clang/utils/analyzer/projects).

</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJyclM2O5CYUhZ8Gb666hCm7XLXwomY6VkbKKIuZaNb8XBekMbTgUk7l6SPc_1GkKFlZNgLO-e45ljm7S0AcWf-J9feNLGRjGq_q6jTF1KhobuM5wxwThLgy8RlKxgRaBojB36AEgymTDAbyI6KBOANKbUFb1A-wWgygMGi7yPTgwgXYgWsvw-WOnLmxAwcZpL9ll8G6JaOfd4yffyDoWLwBnVASgoSAK-joyxLABbBEj5ntz0xMTEzbeTvvr8supgsTE_5BSb4sPF0kpk1QZmLyLtPO0uJhdWT_SXaV8AWMM4GJgYCsCw-wFG3r3auVVHksQBEeE2YMBI4qGlW2FZhdyvUbJkkuBnD0bEdh9f_tl19_sAOvO9iBf_3p_stvX9_ep_O37-zAqwbGzz9jQqhw4vqKzlRsrP-0oMwlYX6nnPX3TBw_4rk4skXtdFyqeX99edw9pvg7amJiUj4qJqZFuvCGLUaf7z6gNExM3525TTLT5w3nzgXNxGkHrxNLWDJCjgtWpmQRXJiTzJSKppIQ5hSXj1YogsJLRVvnUaPkJWECVZw3IN_yA3OSC64xPUB2i_MywWqdthXGk-hMkpy-2zL1JyawMv9PJJQQ_4aEiamQ8zVDLxcwMT1vyRUD4-fGjHtz2p9kg2M79Pu-7zhvGztqLfSMelbdMBx5h3Pbq71UnRrMvpetaNwouOj5IA7tUXDe7lpxOuz5setaeTR7rVjHcZHOv0a9cTkXHNueD8dT46VCn7cmC_E--qI2O42bQVUumXW8diC_nUOO_PYPeLetv4ezeWm1C3MEqWKh9-12AZgY_qVlTAxNSX78zxPYzNWjnv1dR_FXAAAA__82CY5N">