Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Startup 6.9.1 A LOT Slower than 6.8.1

Startup 6.9.1 A LOT Slower than 6.8.1

Scheduled Pinned Locked Moved Unsolved General and Desktop
6 Posts 3 Posters 369 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    Dariusz
    wrote on last edited by
    #1

    Hello

    I've recently migrated to 6.9.1 ver and I noticed that my apps starts A LOT slower, I'm talking about 60-80 second start up in debug mode comparing to 5-15, which is quite... massive...

    Is this release bugged/should I do something ? Any1 else experiencing this issue?
    Thanks!

    JKSHJ 1 Reply Last reply
    0
    • D Dariusz

      Hello

      I've recently migrated to 6.9.1 ver and I noticed that my apps starts A LOT slower, I'm talking about 60-80 second start up in debug mode comparing to 5-15, which is quite... massive...

      Is this release bugged/should I do something ? Any1 else experiencing this issue?
      Thanks!

      JKSHJ Offline
      JKSHJ Offline
      JKSH
      Moderators
      wrote on last edited by
      #2

      @Dariusz said in Startup 6.9.1 A LOT Slower than 6.8.1:

      my apps starts A LOT slower, I'm talking about 60-80 second start up in debug mode comparing to 5-15

      That sounds very abnormal. I haven't seen anything like this myself, but if you can simplify your project into a reproducer, please create a bug report at https://bugreports.qt.io/secure/Dashboard.jspa, attach your reproducer, and add [Reg 6.8.1 -> 6.9.1] to your report title to highlight that it is a recent regression.

      Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

      1 Reply Last reply
      1
      • D Offline
        D Offline
        Dariusz
        wrote last edited by Dariusz
        #3

        Hey
        I've had a bit of time to start digging in to it a bit more.
        My slowdowns seems to come from here :

        
                inline void registerImage(const keyType&key, const QImage&img) { mImageCache[key] = img; };
        
                inline void registerPixmap(const keyType&key, const keyType&imagePath) { mPixmapCache[key] = QPixmap(imagePath); };
        
                inline void registerPixmap(const keyType&key, const QPixmap&img) { mPixmapCache[key] = img; };
        
                inline void registerIcon(const keyType&key, const keyType&imagePath) { mIconCache[key] = QIcon(imagePath); };
        
                inline void registerIcon(const keyType&key, const QIcon&img) { mIconCache[key] = img; };
        
                /*!
                 * Register input as all types of images & convert for each.
                 * @param key
                 * @param data
                 */
                inline void registerAll(const keyType&key, const keyType&data) {
                    registerImage(key, data);
                    registerPixmap(key, data);
                    registerIcon(key, data);
                    mRegisteredPaths[key] = data;
                }
        

        keyType = QString/char*/etc
        the path I'm providing here is from QRC compiled svg icons.

        I remember reading that qt was getting new SVG engine, and this is VERY slow now, my app startup went from instant to 20-30 seconds.

        I'm still drilling down what is exactly causing it, but do we have any reports of svg/pixmap/qimage issues?

        Appear to be this:
        https://qt-project.atlassian.net/browse/QTBUG-139060
        seems like 6.10.1 does not have any fix yet... :-(

        JKSHJ 1 Reply Last reply
        0
        • D Dariusz

          Hey
          I've had a bit of time to start digging in to it a bit more.
          My slowdowns seems to come from here :

          
                  inline void registerImage(const keyType&key, const QImage&img) { mImageCache[key] = img; };
          
                  inline void registerPixmap(const keyType&key, const keyType&imagePath) { mPixmapCache[key] = QPixmap(imagePath); };
          
                  inline void registerPixmap(const keyType&key, const QPixmap&img) { mPixmapCache[key] = img; };
          
                  inline void registerIcon(const keyType&key, const keyType&imagePath) { mIconCache[key] = QIcon(imagePath); };
          
                  inline void registerIcon(const keyType&key, const QIcon&img) { mIconCache[key] = img; };
          
                  /*!
                   * Register input as all types of images & convert for each.
                   * @param key
                   * @param data
                   */
                  inline void registerAll(const keyType&key, const keyType&data) {
                      registerImage(key, data);
                      registerPixmap(key, data);
                      registerIcon(key, data);
                      mRegisteredPaths[key] = data;
                  }
          

          keyType = QString/char*/etc
          the path I'm providing here is from QRC compiled svg icons.

          I remember reading that qt was getting new SVG engine, and this is VERY slow now, my app startup went from instant to 20-30 seconds.

          I'm still drilling down what is exactly causing it, but do we have any reports of svg/pixmap/qimage issues?

          Appear to be this:
          https://qt-project.atlassian.net/browse/QTBUG-139060
          seems like 6.10.1 does not have any fix yet... :-(

          JKSHJ Offline
          JKSHJ Offline
          JKSH
          Moderators
          wrote last edited by
          #4

          @Dariusz said in Startup 6.9.1 A LOT Slower than 6.8.1:

          Appear to be this:
          https://qt-project.atlassian.net/browse/QTBUG-139060
          seems like 6.10.1 does not have any fix yet... :-(

          I just tried the test code + image from QTBUG-139060 using Release builds with MinGW:

          Qt version Load time (s)
          6.7.3 6
          6.9.2 93
          6.10.2 7

          So, that particular issue looks fixed to me.

          If you're still seeing significantly slower loads in Qt 6.10 compared to Qt 6.7, please create a new bug report with a minimal reproducer.

          Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

          D 1 Reply Last reply
          1
          • JKSHJ JKSH

            @Dariusz said in Startup 6.9.1 A LOT Slower than 6.8.1:

            Appear to be this:
            https://qt-project.atlassian.net/browse/QTBUG-139060
            seems like 6.10.1 does not have any fix yet... :-(

            I just tried the test code + image from QTBUG-139060 using Release builds with MinGW:

            Qt version Load time (s)
            6.7.3 6
            6.9.2 93
            6.10.2 7

            So, that particular issue looks fixed to me.

            If you're still seeing significantly slower loads in Qt 6.10 compared to Qt 6.7, please create a new bug report with a minimal reproducer.

            D Offline
            D Offline
            Dariusz
            wrote last edited by
            #5

            @JKSH Hmm I just installled 6.10.2 and the app still takes ages to load on svg's.
            Perhaps its the combination of the particular file format I have + loading from qrc :/
            Will investigate more.

            1 Reply Last reply
            0
            • S Offline
              S Offline
              Shummi Claire
              Banned
              wrote last edited by
              #6
              This post is deleted!
              1 Reply Last reply
              0

              • Login

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups
              • Search
              • Get Qt Extensions
              • Unsolved