[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
Sun Jan 8 12:22:41 PST 2023


seanptmaher created this revision.
seanptmaher added a reviewer: MyDeveloperDay.
Herald added a project: All.
seanptmaher requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

This patch changes the implementation of clang-format-diff.py to 
start up many clang-format processes in parallel in order to speed
up clang-format-diff.py by several orders of magnitude on large
patches (less than a minute instead of several tens of minutes).


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D141230

Files:
  clang/tools/clang-format/clang-format-diff.py

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D141230.487215.patch
Type: text/x-patch
Size: 4305 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230108/b82d96cd/attachment.bin>


More information about the cfe-commits mailing list