[PATCH] D129100: [clangd] Support external throttler for preamble builds
Sam McCall via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Jul 4 17:33:21 PDT 2022
sammccall created this revision.
sammccall added a reviewer: kadircet.
Herald added subscribers: usaxena95, arphaman, javed.absar.
Herald added a project: All.
sammccall requested review of this revision.
Herald added subscribers: cfe-commits, MaskRay, ilya-biryukov.
Herald added a project: clang-tools-extra.
Building preambles is the most resource-intensive thing clangd does, driving
peak RAM and sustained CPU usage.
In a hosted environment where multiple clangd instances are packed into the same
container, it's useful to be able to limit the *aggregate* resource peaks.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D129100
Files:
clang-tools-extra/clangd/ClangdServer.cpp
clang-tools-extra/clangd/ClangdServer.h
clang-tools-extra/clangd/TUScheduler.cpp
clang-tools-extra/clangd/TUScheduler.h
clang-tools-extra/clangd/unittests/TUSchedulerTests.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D129100.442157.patch
Type: text/x-patch
Size: 12627 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220705/f6f01eb0/attachment-0001.bin>
More information about the cfe-commits
mailing list