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

Qt Creator startup time is affected if I disable QbsProjectManager

    XMLWordPrintable

Details

    • Windows
    • 8277e2f7d (master), 4c81af8c0 (master)

    Description

      Qt Creator 11.0.2, Windows 10, AMD Ryzen 9 3950X 16-Core Processor, 64 GB ram.

      Tried the following:

      C:\Qt\Tools\QtCreator\bin
      $ set QT_MESSAGE_PATTERN=[%{time process}] [%{appname}] %{message}
      
      C:\Qt\Tools\QtCreator\bin
      $ qtcreator -profile
      
      C:\Qt\Tools\QtCreator\bin
      $ qtcreator -profile
      
      C:\Qt\Tools\QtCreator\bin
      $ qtcreator -profile
      
      C:\Qt\Tools\QtCreator\bin
      $ qtcreator -profile -noload QbsProjectManager
      
      C:\Qt\Tools\QtCreator\bin
      $ qtcreator -profile -noload QbsProjectManager
      
      C:\Qt\Tools\QtCreator\bin
      $ qtcreator -profile -noload QbsProjectManager 

      Captured the output with DebugView and saved it as qtcreator-11.log

      C:\Users\Cristian\Desktop
      $ type qtcreator-11.log | findstr "Total: "
      00000520        9.03900623      [18316] [     9.039] [QtCreator] Total:     1306ms
      00001269        45.89236069     [1088] [     8.825] [QtCreator] Total:     1301ms
      00002018        69.90023804     [2408] [     8.959] [QtCreator] Total:     1243ms
      00002758        96.15730286     [8688] [     5.110] [QtCreator] Total:     1321ms
      00003494        109.93423462    [2072] [     4.794] [QtCreator] Total:     1213ms
      00004230        121.18924713    [3956] [     4.808] [QtCreator] Total:     1275ms 

      Notice that the average startup time went from 8.94s to 4.9s. That's quite some difference.

      I've attached a screenshot of the installed Kits:

      Below is also my Visual Studio setup:

      Attachments

        1. kits.png
          84 kB
          Cristian Adam
        2. qtcreator-11.log
          529 kB
          Cristian Adam
        3. qtcreator-with-qbs-without-and-with-patch.mp4
          5.73 MB
          Cristian Adam
        4. visualstudio-installer.png
          114 kB
          Cristian Adam
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            kandeler Christian Kandeler
            cadam Cristian Adam
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes