[clang-tools-extra] Symbol tags in SymbolInformation, WorkspaceSymbol, CallHierarchyItem and TypeHierarchyItem (PR #170103)

Dimitri Ratz via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 30 00:25:02 PDT 2026


ratzdi wrote:

> > preliminary results:
> > clangd version > 	18.01.3 	this branch 	main @07ff1a63
> > background index 	~1400 MB 	~2972 MB 	~2903 MB
> > index cache disk usage 	~159 MB 	~188 MB 	~187 MB
> 
> Unrelated to this patch but, wow, that doubling of the index memory usage between 18.x and trunk is quite something. That probably deserves to be spun out into a separate issue and investigated further.

I cannot explain how the outlier occurred in the first measurement with 18.1.3. In the second measurement with 18.1.3, the memory/disc consumption is now more consistent.

current results:
 clangd version > | 18.1.3 | this branch | main @07ff1a63
-- | -- | -- | --
background index | ~2721 MB | ~2972 MB | ~2903 MB
index cache disk usage | ~184 MB | ~188 MB | ~187 MB
 

https://github.com/llvm/llvm-project/pull/170103


More information about the cfe-commits mailing list