[PATCH] D141230: [clang-format-diff.py] give clang-format-diff a job pool (10x speed)

Sean Maher via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 12 10:13:59 PST 2023


seanptmaher added a comment.

Yeah, the jobs flag is a much better implementation. Thanks for the comments. I've implemented that.  I was indeed making the assumption that this is all that's running, etc. as you mentioned.

The use case I was using this with was running diff formatting of very large diffs (automated mass refactors changing thousands of files) on the chromium codebase -- I'm not sure how to "include" such a use case as you mentioned. I could write a benchmark if you'd like?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D141230/new/

https://reviews.llvm.org/D141230



More information about the cfe-commits mailing list