Closed varungandhi-src closed 2 years ago
Looks like there was another optimization around files in the upstream commit which introduced this.
https://github.com/llvm/llvm-project/commit/dad804a193edf092322d80bb404fabb2f6f2c888
Updated benchmarks with the file optimization: (different 60 core instance)
For an indexing job of CMake on a 60 core machine:
There doesn't seem to be much effect on 16 core machines.
This was changed in upstream LLVM too (in clangd). The code change to IndexerMain.cpp is redundant, because the code is duplicated in LSIFClangMain.cpp, but we keep the two in sync.
Test plan
Manually tested