Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-29360

Clangd performance optimization

    XMLWordPrintable

Details

    • Epic
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • None
    • C/C++/Obj-C++ Support
    • None

    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

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              kandeler Christian Kandeler
              productboard Productboard
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes