Details
-
Epic
-
Resolution: Unresolved
-
Not Evaluated
-
None
-
None
-
None
-
Clangd performance optimization
Description
What is the benefit? Why is this valuable?
Clangd should not impact on the perceived performance even when indexing is running. We should understand what's the impact at the moment and recognise areas for optmizations.
Requirements
- Measure on mid-range laptop with Qt Framework as a project
- qtbase opened & files editable in less than 10 seconds
- Fix possible UI freezes
- Research if the clangd index db could be pre-generated and shared between workstations.
- If not possible, consider alternative ways that would benefit end user e.g. UI button for delaying indexing by 1 hour if it's causing poor performance. This way the user could leave the indexing in the background, and let it do it's thing when away.
- Resume to clangd index generation if Qt Creator is closed before indexing was completed