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

Opening a huge project on remote Linux device is extremely slow

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • Qt Creator 13.0.0
    • Remote Linux
    • Linux/Wayland, Linux/X11

    Description

      This can be easily and reliably reproduced by opening the LLVM project on a remote Linux device.

      First make sure the Remote Linux Device is set up properly and the test passes, the appropriate remote compiler, debugger, debugger server, CMake are set up and a Kit configuration that uses those remote tools is available.

      Then, on remote Linux device, go to a directory that's suitable for projects, pull the LLVM project:

       

      ```bash
      git clone --depth 1 https://github.com/llvm/llvm-project.git
      ```

       

      Now switch to Qt Creator on your local system, select File -> Open File or Project -> Select the remote device from the left sidebar -> Find `llvm-project/llvm/CMakeLists.txt` and choose it.

      Qt Creator should now prompt to configure the project, uncheck all Kits, then select only the remote Kit that was previously set up.

       

      Now observe how Qt Creator simply stuck at "Updating Locator Caches" forever. (on my system it takes half an hour just to load the project hierarchy and then another eternity for scanning C/C++ files).

      The process is faster when opening the project from SSHFS (that was mounted manually) over the builtin remote directory, it takes only like 10 minutes to load the project hierarchy (which is still very slow).

      Perhaps these slow part of the tasks (eg.. locator caches, finding files) should be just delegated to the remote device (and Qt Creator should merely act as a front-end) rather than processing them locally.

      Attachments

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

        Activity

          People

            kandeler Christian Kandeler
            jirauser69920 user-6dbf8 (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes