Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. MMI Application very slow after migration from qt 5.6 to qt 5.9
QtWS25 Last Chance

MMI Application very slow after migration from qt 5.6 to qt 5.9

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
6 Posts 3 Posters 745 Views
  • 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.
  • G Offline
    G Offline
    GuillaumeL
    wrote on last edited by
    #1

    Hello,
    I'm on issue for two days now, and have not found any clue for solving, so i'm asking you guys if you can tell me any tips for further investigation.
    By advance thanks a lot !

    Context :
    i were put on a MMI on Linux, developed and tested on qt 5.6 in qt creator. I tried it, and it was a classic MMI with buttons, actions and refresh.
    Two days ago, a colleague ask to our IT team to migrate to qt 5.9, which was apparently done without any problems.

    I rebuilt my application, and now any waiting time for refreshing window has been multiplicated by 5-10.
    By example, the display at startup needs now 15 seconds.

    I have tried to compile in debug, without debug. Nothings changes. I have compared ui files generated, in order to find something.

    I'm out of ideas for further tracks to explore. Anyone one of you can give me hint for investigation ?

    Thanks.

    Guillaume.

    jsulmJ 1 Reply Last reply
    0
    • G GuillaumeL

      Hello,
      I'm on issue for two days now, and have not found any clue for solving, so i'm asking you guys if you can tell me any tips for further investigation.
      By advance thanks a lot !

      Context :
      i were put on a MMI on Linux, developed and tested on qt 5.6 in qt creator. I tried it, and it was a classic MMI with buttons, actions and refresh.
      Two days ago, a colleague ask to our IT team to migrate to qt 5.9, which was apparently done without any problems.

      I rebuilt my application, and now any waiting time for refreshing window has been multiplicated by 5-10.
      By example, the display at startup needs now 15 seconds.

      I have tried to compile in debug, without debug. Nothings changes. I have compared ui files generated, in order to find something.

      I'm out of ideas for further tracks to explore. Anyone one of you can give me hint for investigation ?

      Thanks.

      Guillaume.

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @GuillaumeL You can try to profile your application using Valgrind (Callgrind) or https://perf.wiki.kernel.org/index.php/Main_Page to see where you app is spending time. You can use strace/ltrace to see what is going on.
      Also, did you check whether CPU usage and RAM consumption are high when your app is running.

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      G 2 Replies Last reply
      1
      • jsulmJ jsulm

        @GuillaumeL You can try to profile your application using Valgrind (Callgrind) or https://perf.wiki.kernel.org/index.php/Main_Page to see where you app is spending time. You can use strace/ltrace to see what is going on.
        Also, did you check whether CPU usage and RAM consumption are high when your app is running.

        G Offline
        G Offline
        GuillaumeL
        wrote on last edited by
        #3

        @jsulm Sounds like good idea. I try this now.

        1 Reply Last reply
        0
        • jsulmJ jsulm

          @GuillaumeL You can try to profile your application using Valgrind (Callgrind) or https://perf.wiki.kernel.org/index.php/Main_Page to see where you app is spending time. You can use strace/ltrace to see what is going on.
          Also, did you check whether CPU usage and RAM consumption are high when your app is running.

          G Offline
          G Offline
          GuillaumeL
          wrote on last edited by
          #4

          @jsulm Ok, after using perf tool, it seems that my application used 90% overhead on two shared objetcs :

          • libz.so.1.2.7
          • libpng15.so.15.13.0

          So thanks a lot for your response which give me a new tool, and a new hope on solving this issue.
          Now i'm gonna work on link betwen my application, this two lib and qt.

          J.HilkJ 1 Reply Last reply
          1
          • G GuillaumeL

            @jsulm Ok, after using perf tool, it seems that my application used 90% overhead on two shared objetcs :

            • libz.so.1.2.7
            • libpng15.so.15.13.0

            So thanks a lot for your response which give me a new tool, and a new hope on solving this issue.
            Now i'm gonna work on link betwen my application, this two lib and qt.

            J.HilkJ Offline
            J.HilkJ Offline
            J.Hilk
            Moderators
            wrote on last edited by
            #5

            @GuillaumeL
            If I may ask, why do you link agaisnt an external png-libary?
            Qt does come with it's own png support, IIRC.


            Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


            Q: What's that?
            A: It's blue light.
            Q: What does it do?
            A: It turns blue.

            G 1 Reply Last reply
            0
            • J.HilkJ J.Hilk

              @GuillaumeL
              If I may ask, why do you link agaisnt an external png-libary?
              Qt does come with it's own png support, IIRC.

              G Offline
              G Offline
              GuillaumeL
              wrote on last edited by
              #6

              @J.Hilk A really good question. As i have inherited of this project a few weeks ago, i didn't have check all installation and configuration. I guess this is the best way to have surprises.

              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