This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG23a53301c545: [clangd] Introduce memory usage dumping to
TUScheduler, for Preambles and… (authored by kadircet).
Repository:
rG LLVM Github
kadircet updated this revision to Diff 296691.
kadircet marked 3 inline comments as done.
kadircet added a comment.
- Rename attachMemoryUsage to profile
- Group by filename, rather than ast_cache vs preamble
- Make use of UsedBytesAST rather than profiling IdleASTs
- Rebase
Repository:
rG
sammccall added inline comments.
Comment at: clang-tools-extra/clangd/TUScheduler.cpp:1445
+void TUScheduler::attachMemoryUsage(MemoryTree ) const {
+ IdleASTs->attachMemoryUsage(*MT.addChild("ast_cahe"));
+ // Otherwise preambles are stored on disk and we only keep filename
kadircet updated this revision to Diff 296114.
kadircet added a comment.
- Rebase
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D88415/new/
https://reviews.llvm.org/D88415
Files:
clang-tools-extra/clangd/TUScheduler.cpp
kadircet created this revision.
kadircet added a reviewer: sammccall.
Herald added subscribers: cfe-commits, usaxena95, arphaman, javed.absar.
Herald added a project: clang.
kadircet requested review of this revision.
Herald added subscribers: MaskRay, ilya-biryukov.
File-granular information is