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

[REG: 5.11->6] Performance issue with loading images in static build

    XMLWordPrintable

Details

    • Windows
    • 47325e01b (dev), 07ee02f3f (6.6), 6a18ccff2 (tqtc/lts-6.5), f512fa658 (tqtc/lts-6.2), 878e3342e (dev), 4a432a761 (dev), 5344baee2 (6.6), a5bcb4167 (dev), 66cd58b2a (6.6), 1c35f2209 (tqtc/lts-6.5), 5cacae8c7 (tqtc/lts-5.15), 4c0d1383d (tqtc/lts-6.2)

    Description

      Attached example tries to load images and performance has come down quite a lot and seems to only occur in static builds.

      Profiling the application points to CBor and parsing of plugin meta data, which takes quite significant amount of time. Especially in Qt 5.15. Situation is a lot better in Qt 6 generally, but it is still much slower there in static builds than in dynamic builds.

      Perhaps it shouldn't be doing all this meta data parsing for every call.

      Also even though the situation has improved with Qt 6, it still seems to be much worse on Windows than on other platforms.

      Attachments

        1. factorytest.zip
          0.9 kB
        2. qtbug114253_V2.zip
          7 kB
        3. qtbug114253.tar.gz
          25 kB
        For Gerrit Dashboard: QTBUG-114253
        # Subject Branch Project Status CR V

        Activity

          People

            thiago Thiago Macieira
            poikelin Joni Poikelin
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: