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

Slow file opening on large project

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • Not Evaluated
    • None
    • Qt Creator 4.1.0-rc1
    • C/C++/Obj-C++ Support
    • None
    • Windows 7 Professional 64-bit
      i7-2600K
      16GB RAM
      240GB SSD (SSDSC2CW240A3) (This is the disk with the project on it)

    Description

      Upon loading a project, opening C++ files can take over 30 seconds. While waiting for the file to load, the application is unresponsive (Windows shades the window white and brings up the "this program is not responding" dialog).

      The following details are probably pertinent:

      • The project is very large: ~ 15,000 C++ source files, ~ 7,000 other source files ~ 100 include directories.
      • After around 10 minutes, some files would open quickly, after leaving the computer idle for over an hour, all files open quickly.
      • When a file eventually loads, it is momentarily (for a fraction of a second) shown with incomplete syntax highlighting, before the full syntax highlighting is shown.

      Previous behaviour (version 4.0.2) was for the file to load immediately with incomplete syntax highlighting, and the full syntax highlighting (which presumably needs either the internal or clang code model to be computed) would be updated later (possibly within a similar time-frame, but at least the application wasn't locked up in the meantime).

      Attachments

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

        Activity

          People

            kosjar Nikolai Kosjar
            madact Yuri Vilmanis
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes