[all-commits] [llvm/llvm-project] dad804: [clangd] Improve clangd-indexer performance
Aleksandr Platonov via All-commits
all-commits at lists.llvm.org
Wed Nov 11 03:39:28 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: dad804a193edf092322d80bb404fabb2f6f2c888
https://github.com/llvm/llvm-project/commit/dad804a193edf092322d80bb404fabb2f6f2c888
Author: Aleksandr Platonov <platonov.aleksandr at huawei.com>
Date: 2020-11-11 (Wed, 11 Nov 2020)
Changed paths:
M clang-tools-extra/clangd/indexer/IndexerMain.cpp
Log Message:
-----------
[clangd] Improve clangd-indexer performance
This is a try to improve clangd-indexer tool performance:
- avoid processing already processed files.
- use different mutexes for different entities (e.g. do not block insertion of references while symbols are inserted)
Results for LLVM project indexing:
- before: ~30 minutes
- after: ~10 minutes
Reviewed By: kadircet
Differential Revision: https://reviews.llvm.org/D91051
More information about the All-commits
mailing list