Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-103187

Reconfiguration is slow due to qmlimportscanner

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 6.4.0 Beta1
    • 6.2.2
    • None
    • Windows 11, visual studio 2019, msvc 16, cmake
    • Windows
    • 2ee7ec4d24 (qt/qtdeclarative/dev) 2ee7ec4d24 (qt/tqtc-qtdeclarative/dev) 2ee7ec4d24 (qt/qtdeclarative/6.4) 2ee7ec4d24 (qt/tqtc-qtdeclarative/6.4) e2a3667e34 (qt/qtdeclarative/6.3) e2a3667e34 (qt/tqtc-qtdeclarative/6.3)

    Description

      When compiling a Qt project, the qmlimportscanner.exe takes roughly 45 seconds to perform its work.
      This happens even when there are no changes in any qml or related code, making every small code change incredibly slow.

      Attachments

        1. importomania.tgz
          1 kB
        2. perf.txt.gz
          14 kB
        3. perf-graph.txt.gz
          232 kB
        4. qmlimportscanner
          0.3 kB
        5. Screenshot 2022-05-03 100610.png
          Screenshot 2022-05-03 100610.png
          19 kB

        Issue Links

          For Gerrit Dashboard: QTBUG-103187
          # Subject Branch Project Status CR V

          Activity

            People

              alexandru.croitor Alexandru Croitor
              mrlolli Luca Lolli
              Votes:
              2 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: