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. Bottle neck in Qt
Qt 6.11 is out! See what's new in the release blog

Bottle neck in Qt

Scheduled Pinned Locked Moved General and Desktop
4 Posts 3 Posters 2.4k Views 1 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.
  • I Offline
    I Offline
    Immii
    wrote on last edited by
    #1

    I am loading my local htm file which has lots of javascript in my my qt application which is damn slow. and the worst part is when I revisit the same page it again takes same amount of time. I tried loading same file with Qt's Demo application "browser" and same result there too.
    I am trying to find what is causing this ?? can any one please let me know how can I find this bottle neck? How to do profiling? I tried valgrind but that talks more about memory stuff, Or may be I dont know how to use that as first time ever used it .

    1 Reply Last reply
    0
    • P Offline
      P Offline
      Panke
      wrote on last edited by
      #2

      Is it slow in other browser as well? Maybe the javascript is inefficient.

      1 Reply Last reply
      0
      • E Offline
        E Offline
        entuland
        wrote on last edited by
        #3

        I suppose you're using QWebView, and in such case you may be able to profile the loading of the various parts of the page using the Timeline tab of the QWebInspector, hope that helps.

        [edit] Sorry, I meant to say the Resources tab, not the Timeline one... [/edit]

        1 Reply Last reply
        0
        • I Offline
          I Offline
          Immii
          wrote on last edited by
          #4

          I am doing this , but I am kidn of confused what should I look for in resource tab or timeline tab and what action should i take, do you mean I should tracke which script is taking more time and modify that script?

          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