Skip to content

Conversation

hx507
Copy link

@hx507 hx507 commented Jun 20, 2022

Currently clang-tidy hook is running in serial, which can be slow if multiple large files are modified.
Clang-tidy is trivially parallelize-able per file, so why don't we take advantage of that?
Locally it speeds up a ~8 sec clang-tidy run to ~3 sec, which is bottle-necked on largest file changed -- still much faster.

Currently clang-tidy hook is running in serial, which can be slow if multiple large files are modified.
Clang-tidy is trivially parallelize-able per file, so why don't we take advantage of that?
Locally it speeds up a ~8 sec clang-tidy run to ~3 sec, which is bottle-necked on largest file changed -- still much faster.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant