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. Performance issues with Qt 5.9.1 on Windows 7
Forum Updated to NodeBB v4.3 + New Features

Performance issues with Qt 5.9.1 on Windows 7

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 3 Posters 635 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.
  • vivianV Offline
    vivianV Offline
    vivian
    wrote on last edited by vivian
    #1

    This is probably one of the strangest issue I have come across and also completely stumped trying to debug.
    One of our users running our application on Windows 7 noticed a massive performance issue opening XML files. We have a format of XML and use QXmlStreamReader to open the files. The files can be complicated with several nested tags.
    The same flows used to open faster (1-2 minutes) and currently takes more than 25 minutes to open. I cannot replicate it on Windows 10 and on a Windows 7 VM too. knocked the RAM and CPU down to make sure I can try and narrow the issue but in vain.
    Another strange behaviour is that when the user connects their laptops to the projector then the performance of opening the flow and rendering the file is even slower.

    The application is basically: http://doc.qt.io/qt-5/qtwidgets-graphicsview-diagramscene-example.html
    It has been modified and lots of features added but the files are represented as XML flows.

    Qt version is 5.9.1
    Windows 7
    VS2017

    Any suggestions as to where I can start looking for the culprit code? Or is this a Qt bug. I am suspecting QtWebEngine which we use. Any clues to debug?

    Really appreciate any inputs.

    JonBJ 1 Reply Last reply
    0
    • hskoglundH Online
      hskoglundH Online
      hskoglund
      wrote on last edited by
      #2

      I've had a similar problem on Windows 7 laptop, solved by switching the desktop from using Aero to using Windows classic theme.

      1 Reply Last reply
      3
      • vivianV Offline
        vivianV Offline
        vivian
        wrote on last edited by
        #3

        Thanks for that. WOuld have never thought of this. I will report if that helped.

        1 Reply Last reply
        0
        • vivianV vivian

          This is probably one of the strangest issue I have come across and also completely stumped trying to debug.
          One of our users running our application on Windows 7 noticed a massive performance issue opening XML files. We have a format of XML and use QXmlStreamReader to open the files. The files can be complicated with several nested tags.
          The same flows used to open faster (1-2 minutes) and currently takes more than 25 minutes to open. I cannot replicate it on Windows 10 and on a Windows 7 VM too. knocked the RAM and CPU down to make sure I can try and narrow the issue but in vain.
          Another strange behaviour is that when the user connects their laptops to the projector then the performance of opening the flow and rendering the file is even slower.

          The application is basically: http://doc.qt.io/qt-5/qtwidgets-graphicsview-diagramscene-example.html
          It has been modified and lots of features added but the files are represented as XML flows.

          Qt version is 5.9.1
          Windows 7
          VS2017

          Any suggestions as to where I can start looking for the culprit code? Or is this a Qt bug. I am suspecting QtWebEngine which we use. Any clues to debug?

          Really appreciate any inputs.

          JonBJ Offline
          JonBJ Offline
          JonB
          wrote on last edited by
          #4

          @vivian

          I am suspecting QtWebEngine which we use.

          I am intrigued: what is the connection between QWebEngine and XML? (I didn't download the code example, but the text explanation made no mention of "XML".)

          I can understand that QWebEngine's rendering might be affected by desktop theme, as per @hskoglund, but not any connection to QXmlStreamReader.

          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