Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parallelize clang-tidy hook #48

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Parallelize clang-tidy hook #48

wants to merge 1 commit into from

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.

None yet

1 participant