[PATCH] D150635: [clangd] Implement end-definition-comment inlay hints
Qingyuan Zheng via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue May 23 20:06:35 PDT 2023
daiyousei-qz added a comment.
I'm not sure but 18ms is definitely wrong here, especially for a debug build. In your log, even semantic highlighting builds in 60ms, which looks incorrect. I tried again with TOT clangd and noticed the following pattern.
- If I scroll with vscode, inlay hints typically computes in 10~20ms
- If I edit the source code, inlay hints computes in around 600ms
I'm not sure why that's happening. Maybe @nridge could have a better answer. Somehow, this patch seems introduce a significant slowdown. I'll investigate further to see why that's happening.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D150635/new/
https://reviews.llvm.org/D150635
More information about the cfe-commits
mailing list