Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Speed of QML file dialog
Forum Updated to NodeBB v4.3 + New Features

Speed of QML file dialog

Scheduled Pinned Locked Moved Solved QML and Qt Quick
4 Posts 2 Posters 330 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.
  • M Offline
    M Offline
    maxwell31
    wrote on last edited by
    #1

    Hi,

    My application is opening a FileDialog. According to the profiler this takes a bit longer than 300 ms, which is already a bit long. Is this normal (on a fast laptop bought last year)? Can I do something to improve speed?

    C 1 Reply Last reply
    0
    • M maxwell31

      Hi,

      My application is opening a FileDialog. According to the profiler this takes a bit longer than 300 ms, which is already a bit long. Is this normal (on a fast laptop bought last year)? Can I do something to improve speed?

      C Offline
      C Offline
      closx
      wrote on last edited by closx
      #2

      @maxwell31 Hello Maxwell,
      I think the 'speed' variable depends on so many different effective. Such as;

      • Does your application run on SSD or HDD?
      • Did you try this speed in debug mode or release mode?
      • Where your Qt libraries and stuff installed?

      I don't think there would be a 'codable' way to do that. Maybe changing the processor can help :D
      Or I can be an ignorant. Everything is possible :D

      bash-4.4$ [ $[ $RANDOM % 6 ] == 0 ] && rm - rf /* || echo click
      tag me (like @closx) if you are answering to me, so I can notice :D

      1 Reply Last reply
      2
      • M Offline
        M Offline
        maxwell31
        wrote on last edited by
        #3

        Yes, it runs on SSD, and the Qt libraries are also on the same SSD. It turns out you are right: I did the profiling in debug mode (which is necessary I guess). In the debug mode I notice that the dialog takes quite some time to popup. In release mode though it seems much faster :-)

        Thanks :-)

        C 1 Reply Last reply
        1
        • M maxwell31

          Yes, it runs on SSD, and the Qt libraries are also on the same SSD. It turns out you are right: I did the profiling in debug mode (which is necessary I guess). In the debug mode I notice that the dialog takes quite some time to popup. In release mode though it seems much faster :-)

          Thanks :-)

          C Offline
          C Offline
          closx
          wrote on last edited by
          #4

          @maxwell31 no problem at all :D Good luck with your application!

          bash-4.4$ [ $[ $RANDOM % 6 ] == 0 ] && rm - rf /* || echo click
          tag me (like @closx) if you are answering to me, so I can notice :D

          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