[PATCH] D70489: [clangd] Add xref for macro to static index.
UTKARSH SAXENA via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Dec 3 02:29:47 PST 2019
usaxena95 added a comment.
**Before this patch**
`CollectMacro` is disabled by default
Loaded Dex from static-index.idx with estimated memory usage 354410880 bytes
- number of symbols: 462463
- number of refs: 6361763
- numnber of relations: 20322
**Before this patch**
`CollectMacros=true` enabled in `IndexerMain.cpp`
Num symbols increases by **3%**
Disk increase: **1.2%**
Loaded Dex from no-macro-xref.idx with estimated memory usage 358596403 bytes
- number of symbols: 476056
- number of refs: 6361764
- numnber of relations: 20322
**After this patch**
`CollectMacros=true` enabled in `IndexerMain.cpp`
Num symbols increases by **3%**
Num refs increases by **5.7%**
Disk increase: **3.7%**
Loaded Dex from with-macro-xref.idx with estimated memory usage 367648065 bytes
- number of symbols: 476069
- number of refs: 6727042
- numnber of relations: 20324
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D70489/new/
https://reviews.llvm.org/D70489
More information about the cfe-commits
mailing list