[PATCH] D48441: [clangd] Incorporate transitive #includes into code complete proximity scoring.
Sam McCall via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Jul 3 01:12:58 PDT 2018
sammccall added a comment.
Performance on a transitively big file.
Stress test - global scope completion with index turned off.
Benchmarking codeComplete() call 100x per trial, trials randomly ordered.
Before this patch (427ms 421ms 430ms)
After this patch (418ms 420ms 417ms)
So it seems this is slightly faster, maybe 2%.
Repository:
rCTE Clang Tools Extra
https://reviews.llvm.org/D48441
More information about the cfe-commits
mailing list