[PATCH] D51539: [clangd] Add symbol slab size to index memory consumption estimates

Kirill Bobyrev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Aug 31 06:49:43 PDT 2018


kbobyrev updated this revision to Diff 163523.
kbobyrev added a comment.

Resolved the issues. Measurements show that static Dex index for LLVM takes ~140 MB,  ~80 MB of which is the size of `SymbolSlab`.


https://reviews.llvm.org/D51539

Files:
  clang-tools-extra/clangd/index/FileIndex.cpp
  clang-tools-extra/clangd/index/FileIndex.h
  clang-tools-extra/clangd/index/MemIndex.cpp
  clang-tools-extra/clangd/index/MemIndex.h
  clang-tools-extra/clangd/index/dex/DexIndex.cpp
  clang-tools-extra/clangd/index/dex/DexIndex.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D51539.163523.patch
Type: text/x-patch
Size: 6797 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180831/c968b763/attachment-0001.bin>


More information about the cfe-commits mailing list